@@ -118,8 +118,8 @@ MouseArea {
118118 property real currentWidth
119119 property real currentHeight
120120
121− readonly property string cursorName: {
122− if (root.containsMouse || dragging) {
121+ property string cursorName: {
122+ if (root.containsMouse || root.pressed) {
123123 if (leftBorder && !topBorder && !bottomBorder) {
124124 return "left_side";
125125 } else if (rightBorder && !topBorder && !bottomBorder) {
@@ -186,7 +186,9 @@ MouseArea {
186186 } else {
187187 resetBordersToMoveTimer.start();
188188 d.dragging = false;
189− d.updateBorders();
189+ if (containsMouse) {
190+ d.updateBorders();
191+ }
190192 }
191193 }
192194