work around issue when the spreadView is resized because of starting apps
commit0299ab5b04a4dcb2ff17b987a8349be5328f2fe0
authorMichael Zanetti <michael.zanetti@canonical.com>
dateMon 14 Jul 2014, 13:32 (12 years ago)
parent4455e73
qml/Stages/PhoneStage.qml+3−1
@@ -64,9 +64,11 @@ Item {
6464 }
6565
6666 onApplicationAdded: {
67− if (spreadView.phase > 0) {
67+ if (spreadView.phase == 2) {
6868 spreadView.snapTo(ApplicationManager.count - 1);
6969 } else {
70+ spreadView.phase = 0;
71+ spreadView.contentX = -spreadView.shift
7072 priv.switchToApp(appId)
7173 }
7274 }