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:
parent
d76cdb01be
commit
225055ed5d
13 changed files with 154 additions and 70 deletions
|
@ -1082,7 +1082,7 @@ impl ProjectPanel {
|
|||
}
|
||||
},
|
||||
)
|
||||
.on_mouse_down(
|
||||
.on_down(
|
||||
MouseButton::Right,
|
||||
move |MouseButtonEvent { position, .. }, cx| {
|
||||
cx.dispatch_action(DeployContextMenu { entry_id, position })
|
||||
|
@ -1134,7 +1134,7 @@ impl View for ProjectPanel {
|
|||
.expanded()
|
||||
.boxed()
|
||||
})
|
||||
.on_mouse_down(
|
||||
.on_down(
|
||||
MouseButton::Right,
|
||||
move |MouseButtonEvent { position, .. }, cx| {
|
||||
// When deploying the context menu anywhere below the last project entry,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue