summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-05-06 06:18:22 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-05-06 06:18:22 +0200
commit7565d294afd668cc95d85f15662d0704962c9614 (patch)
tree4b59c5453ab5a53e2984284927b764169bde58c5 /native
parent4406494ff313ce3c884cfb9310a20b257bb2105e (diff)
downloadiced-7565d294afd668cc95d85f15662d0704962c9614.tar.gz
iced-7565d294afd668cc95d85f15662d0704962c9614.tar.bz2
iced-7565d294afd668cc95d85f15662d0704962c9614.zip
Fix `PaneGrid` not releasing split properly
Diffstat (limited to 'native')
-rw-r--r--native/src/widget/pane_grid.rs2
1 files changed, 1 insertions, 1 deletions
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();