on xenial help sign in
fix disabling of animation in emergency call suatuation. Broke with previous merge
commitd63f867759814b958d58c490a4277e3c78cda8de authorMichael Zanetti <michael.zanetti@canonical.com> dateTue 22 Jul 2014, 17:16 (12 years ago) parent5581610
1 file changed+2−2
qml/Stages/PhoneStage.qml+2−2
qml/Stages/PhoneStage.qml+2−2
@@ -28,7 +28,7 @@ Item {
2828 property int dragAreaWidth
2929 property real maximizedAppTopMargin
3030 property bool interactive
31− property bool spreadEnabled: true
31+ property bool spreadEnabled: true // If false, animations and right edge will be disabled
3232
3333 // State information propagated to the outside
3434 readonly property bool locked: spreadView.phase == 2
@@ -277,7 +277,7 @@ Item {
277277 }
278278
279279 Behavior on x {
280− enabled: spreadView.focusChanging && index == 0
280+ enabled: spreadView.focusChanging && index == 0 && root.spreadEnabled
281281 UbuntuNumberAnimation {
282282 duration: UbuntuAnimation.FastDuration
283283 onRunningChanged: {