update state only when the user is actively dragging himself
Fixes race with timer causing bug 1457044
commit87d5c6f24e438604dd72434b230741c1acd47b78
authorAlbert Astals Cid <albert.astals@canonical.com>
dateTue 26 May 2015, 09:31 (11 years ago)
parentd548665
qml/Panel/IndicatorsMenu.qml+1−1
@@ -270,7 +270,7 @@ Showable {
270270 }
271271
272272 function updateState() {
273− if (!showAnimation.running && !hideAnimation.running) {
273+ if (!showAnimation.running && !hideAnimation.running && d.activeDragHandle) {
274274 if (unitProgress <= 0) {
275275 root.state = "initial";
276276 // lock indicator if we've been committed and aren't moving too much laterally or too fast up.