Add focusing into the toggle dock commands

Mikayla Maki created

Change summary

crates/workspace/src/workspace.rs | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

Detailed changes

crates/workspace/src/workspace.rs 🔗

@@ -1598,9 +1598,7 @@ impl Workspace {
                         focus_center = true;
                     }
                 } else {
-                    if active_panel.is_zoomed(cx) {
-                        cx.focus(active_panel.as_any());
-                    }
+                    cx.focus(active_panel.as_any());
                     reveal_dock = true;
                 }
             }