on xenial help sign in
don't show the overlay when initiating the resize with mouse
commitd7db780dc472f720c30df514dce6b9bff2c1f245 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateThu 31 Mar 2016, 12:17 (11 years ago) parentd1aa039
1 file changed+2−1
qml/Stages/WindowControlsOverlay.qml+2−1
qml/Stages/WindowControlsOverlay.qml+2−1
@@ -47,6 +47,7 @@ Item {
4747 Timer {
4848 id: overlayTimer
4949 interval: 2000
50+ repeat: priv.dragging || root.resizeTarget.dragging
5051 }
5152
5253
@@ -103,7 +104,7 @@ Item {
103104 Item {
104105 id: overlay
105106 anchors.fill: parent
106− opacity: overlayTimer.running || priv.dragging || root.resizeTarget.dragging ? 1 : 0
107+ opacity: overlayTimer.running ? 1 : 0
107108 visible: opacity == 1
108109 enabled: visible
109110