Make Pane::add_item
a proper Pane
method
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
edf8e276af
commit
6d3464fd1f
6 changed files with 219 additions and 331 deletions
|
@ -183,7 +183,7 @@ pub fn handle_dropped_item<V: View>(
|
|||
.zip(pane.upgrade(cx))
|
||||
{
|
||||
workspace.update(cx, |workspace, cx| {
|
||||
Pane::move_item(workspace, from, to, item_id, index, cx);
|
||||
workspace.move_item(from, to, item_id, index, cx);
|
||||
})
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue