Remove methods taking `&mut Workspace` from `Pane` (#2540)
This pull request simplifies the `Pane` struct by replacing methods like `Pane::add_item` that would previously take a `&mut Workspace` with methods that take a `&mut self`. When access to the workspace is needed, we now either emit an event from the `Pane` or directly move the method to the `Workspace` struct.
A
Antonio Scandurra committed
1fc9103b61cf6e88ef76b6c5e0530c1997b0cb74
Committed by GitHub <noreply@github.com>
on 5/30/2023, 1:01:35 PM