@@ -114,8 +114,8 @@ Item {
115 property bool mouseWasPressed: false
115 property bool mouseWasPressed: false
116 onPressed: mouseWasPressed = containsPress
116 onPressed: mouseWasPressed = containsPress
117− onExited: {
117+ onMouseYChanged: {
118− if (mouseWasPressed && !indicatorAreaBackground.contains(Qt.point(mouseX, mouseY))) {
118+ if (mouseWasPressed && mouseY > panelHeight) {
119 PanelState.maximize(); // restore the window when "dragging" the panel down
119 PanelState.maximize(); // restore the window when "dragging" the panel down
120 mouseWasPressed = false;
120 mouseWasPressed = false;