Initial explorations into docks
This commit is contained in:
parent
39d219c898
commit
b9a6336995
5 changed files with 123 additions and 135 deletions
|
@ -1412,6 +1412,10 @@ impl View for Pane {
|
|||
.on_down(MouseButton::Left, |_, cx| {
|
||||
cx.focus_parent_view();
|
||||
})
|
||||
.on_up(MouseButton::Left, {
|
||||
let pane = this.clone();
|
||||
move |_, cx: &mut EventContext| Pane::handle_dropped_item(&pane, 0, cx)
|
||||
})
|
||||
.boxed()
|
||||
})
|
||||
.on_navigate_mouse_down(move |direction, cx| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue