Make dock not eagerly steal focus from sub items
This commit is contained in:
parent
2d7cfb8c7c
commit
8d561d6408
2 changed files with 20 additions and 2 deletions
|
@ -1600,8 +1600,9 @@ impl Workspace {
|
|||
});
|
||||
self.active_item_path_changed(cx);
|
||||
|
||||
|
||||
if &pane == self.dock_pane() {
|
||||
Dock::show(self, true, cx);
|
||||
Dock::show(self, false, cx);
|
||||
} else {
|
||||
self.last_active_center_pane = Some(pane.downgrade());
|
||||
if self.dock.is_anchored_at(DockAnchor::Expanded) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue