diff options
Diffstat (limited to 'river/command/zoom.zig')
| -rw-r--r-- | river/command/zoom.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/river/command/zoom.zig b/river/command/zoom.zig index e21e038..783570f 100644 --- a/river/command/zoom.zig +++ b/river/command/zoom.zig @@ -37,7 +37,7 @@ pub fn zoom( const focused_node = @fieldParentPtr(ViewStack(View).Node, "view", current_focus); // Only zoom views that are part of the layout - if (current_focus.mode != .layout) return; + if (current_focus.current.mode != .layout) return; var it = ViewStack(View).iterator(output.views.first, output.current_focused_tags); const zoom_node = if (focused_node == it.next()) |
