From 14cefe034e57a189f53a10939b94d2b1d1cfdad3 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Tue, 3 Mar 2026 01:44:43 -0500 Subject: [PATCH] fix(pane_grid): layout typo --- widget/src/pane_grid.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/src/pane_grid.rs b/widget/src/pane_grid.rs index ed765190..d43c69bd 100644 --- a/widget/src/pane_grid.rs +++ b/widget/src/pane_grid.rs @@ -1111,7 +1111,7 @@ fn click_pane<'a, Message, T>( { let mut clicked_region = contents .zip(layout.children()) - .filter(|(_, c_layout)| layout.bounds().contains(cursor_position)); + .filter(|(_, c_layout)| c_layout.bounds().contains(cursor_position)); if let Some(((pane, content), c_layout)) = clicked_region.next() { if let Some(on_click) = &on_click {