on xenial help sign in
use === to make the reviewer happy
99bb8c4Michael Zanetti
qml/Stages/PhoneStage.qml+1−1
@@ -298,7 +298,7 @@ Rectangle {
298 x: {
298 x: {
299 // focused app is always positioned at 0 except when following left edge drag
299 // focused app is always positioned at 0 except when following left edge drag
300 if (index == 0) {
300 if (index == 0) {
301− if (!isDash && root.inverseProgress > 0 && spreadView.phase == 0) {
301+ if (!isDash && root.inverseProgress > 0 && spreadView.phase === 0) {
302 return root.inverseProgress;
302 return root.inverseProgress;
303 }
303 }
304 return 0;
304 return 0;
qml/Stages/TabletStage.qml+1−1
@@ -492,7 +492,7 @@ Rectangle {
492 interactive: !spreadView.interactive && spreadView.phase === 0 && root.interactive
492 interactive: !spreadView.interactive && spreadView.phase === 0 && root.interactive
493 swipeToCloseEnabled: spreadView.interactive && !snapAnimation.running
493 swipeToCloseEnabled: spreadView.interactive && !snapAnimation.running
494 maximizedAppTopMargin: root.maximizedAppTopMargin
494 maximizedAppTopMargin: root.maximizedAppTopMargin
495− dragOffset: !isDash && model.appId == priv.mainStageAppId && root.inverseProgress > 0 && spreadView.phase ==0 ? root.inverseProgress : 0
495+ dragOffset: !isDash && model.appId == priv.mainStageAppId && root.inverseProgress > 0 && spreadView.phase === 0 ? root.inverseProgress : 0
496 application: ApplicationManager.get(index)
496 application: ApplicationManager.get(index)
497 closeable: !isDash
497 closeable: !isDash
498
498