on xenial help sign in
revert unrelated code changes
commit9d769b301a3431fa8bcf84c455073346c522ce8a authorLukáš Tinkl <lukas.tinkl@canonical.com> dateThu 3 Dec 2015, 17:53 (11 years ago) parent28d24b0
1 file changed+5−3
qml/Stages/WindowResizeArea.qml+5−3
qml/Stages/WindowResizeArea.qml+5−3
@@ -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