Store whether a panel is zoomed in the panel itself
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
This commit is contained in:
parent
f097444546
commit
05fb051924
4 changed files with 24 additions and 11 deletions
|
@ -1330,7 +1330,7 @@ impl Workspace {
|
|||
DockPosition::Right => (&self.right_dock, [&self.left_dock, &self.bottom_dock]),
|
||||
};
|
||||
|
||||
let zoomed_panel = dock.read(&cx).zoomed_panel()?;
|
||||
let zoomed_panel = dock.read(&cx).zoomed_panel(cx)?;
|
||||
if other_docks.iter().all(|dock| !dock.read(cx).has_focus(cx))
|
||||
&& !self.active_pane.read(cx).has_focus()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue