Address some issues where panes don't get focused properly, make the focused pane more obvious, and prevent splitting of the pane with no items
This commit is contained in:
@@ -355,7 +355,7 @@ impl ContextMenu {
|
||||
.with_style(style.container)
|
||||
.boxed()
|
||||
})
|
||||
.on_mouse_down_out(MouseButton::Left, |_, cx| cx.dispatch_action(Cancel))
|
||||
.on_mouse_down_out(MouseButton::Right, |_, cx| cx.dispatch_action(Cancel))
|
||||
.on_down_out(MouseButton::Left, |_, cx| cx.dispatch_action(Cancel))
|
||||
.on_down_out(MouseButton::Right, |_, cx| cx.dispatch_action(Cancel))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user