on xenial help sign in
fix another issue that locks up the spread when using multiple touch points
commit2c97c8f832d5b4e6e488065e11098263d2354293 authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 14 Jul 2014, 16:13 (12 years ago) parente55f122
1 file changed+4−2
qml/Stages/SpreadDelegate.qml+4−2
qml/Stages/SpreadDelegate.qml+4−2
@@ -157,8 +157,11 @@ Item {
157157 }
158158
159159 onDragValueChanged: {
160+ if (!dragging) {
161+ return;
162+ }
160163 moving = moving || Math.abs(dragValue) > units.gu(1)
161− if (moving && dragging) {
164+ if (moving) {
162165 distance = dragValue;
163166 }
164167 }
@@ -213,5 +216,4 @@ Item {
213216 }
214217 }
215218 }
216−
217219}