Fix PaneGrid not releasing split properly

This commit is contained in:
Héctor Ramón Jiménez 2020-05-06 06:18:22 +02:00
parent 4406494ff3
commit 7565d294af

View File

@ -526,7 +526,7 @@ where
} }
} }
} }
mouse::Event::ButtonPressed(mouse::Button::Right) mouse::Event::ButtonReleased(mouse::Button::Right)
if self.state.picked_split().is_some() => if self.state.picked_split().is_some() =>
{ {
self.state.drop_split(); self.state.drop_split();