diff options
Diffstat (limited to 'widget/src/pane_grid.rs')
-rw-r--r-- | widget/src/pane_grid.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/pane_grid.rs b/widget/src/pane_grid.rs index 3ae1dfc7..c0ff97fc 100644 --- a/widget/src/pane_grid.rs +++ b/widget/src/pane_grid.rs @@ -688,10 +688,10 @@ where .iter() .zip(&self.contents) .zip(layout.children()) - .filter(|((&pane, _content), _layout)| { + .filter(|((pane, _content), _layout)| { self.internal .maximized() - .map_or(true, |maximized| pane == maximized) + .map_or(true, |maximized| **pane == maximized) }) .find_map(|((_pane, content), layout)| { content.grid_interaction( |