on xenial help sign in
fix disabling of animation in emergency call suatuation. Broke with previous merge
d63f867Michael Zanetti
qml/Stages/PhoneStage.qml+2−2
@@ -28,7 +28,7 @@ Item {
28 property int dragAreaWidth
28 property int dragAreaWidth
29 property real maximizedAppTopMargin
29 property real maximizedAppTopMargin
30 property bool interactive
30 property bool interactive
31− property bool spreadEnabled: true
31+ property bool spreadEnabled: true // If false, animations and right edge will be disabled
32
32
33 // State information propagated to the outside
33 // State information propagated to the outside
34 readonly property bool locked: spreadView.phase == 2
34 readonly property bool locked: spreadView.phase == 2
@@ -277,7 +277,7 @@ Item {
277 }
277 }
278
278
279 Behavior on x {
279 Behavior on x {
280− enabled: spreadView.focusChanging && index == 0
280+ enabled: spreadView.focusChanging && index == 0 && root.spreadEnabled
281 UbuntuNumberAnimation {
281 UbuntuNumberAnimation {
282 duration: UbuntuAnimation.FastDuration
282 duration: UbuntuAnimation.FastDuration
283 onRunningChanged: {
283 onRunningChanged: {