@@ -98,7 +98,6 @@ Rectangle {
99 function commit() {
99 function commit() {
100 if (progress > hintThreshold && edge != -1) {
100 if (progress > hintThreshold && edge != -1) {
101− target.moveHandler.handlePressedChanged(false, Qt.LeftButton); // cancel the drag
102 if (edge == Item.Top) {
101 if (edge == Item.Top) {
103 target.maximize();
102 target.maximize();
104 } else if (edge == Item.Left) {
103 } else if (edge == Item.Left) {