From 7565d294afd668cc95d85f15662d0704962c9614 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Wed, 6 May 2020 06:18:22 +0200 Subject: [PATCH] Fix `PaneGrid` not releasing split properly --- native/src/widget/pane_grid.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/src/widget/pane_grid.rs b/native/src/widget/pane_grid.rs index c398a30b..cb623b29 100644 --- a/native/src/widget/pane_grid.rs +++ b/native/src/widget/pane_grid.rs @@ -526,7 +526,7 @@ where } } } - mouse::Event::ButtonPressed(mouse::Button::Right) + mouse::Event::ButtonReleased(mouse::Button::Right) if self.state.picked_split().is_some() => { self.state.drop_split();