on xenial help sign in
fix stacking order when dragging in the SS and comitting to full spread in one gesture
commitaffd15325521e6d50a79ba45b9dd064545e01f70 authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 5 Jun 2014, 13:34 (12 years ago) parent67fd442
1 file changed+1−5
qml/Stages/TabletStage.qml+1−5
qml/Stages/TabletStage.qml+1−5
@@ -292,7 +292,7 @@ Item {
292292 }
293293 return 1;
294294 }
295− if (index == 2 && spreadView.nextInStack == 1) {
295+ if (index == 2 && spreadView.nextInStack == 1 && priv.sideStageAppId) {
296296 return 3;
297297 }
298298 return index;
@@ -340,10 +340,6 @@ Item {
340340 width: model.stage == ApplicationInfoInterface.MainStage ? spreadView.width : spreadView.sideStageWidth
341341 x: spreadView.width
342342 z: spreadView.indexToZIndex(index)
343−
344− onZChanged: print("z changed for", model.appId, z)
345− onWidthChanged: print("width changed!", width)
346−
347343 active: model.appId == priv.mainStageAppId || model.appId == priv.sideStageAppId
348344 zIndex: z
349345 selected: spreadView.selectedIndex == index