on xenial help sign in
fix stacking order when dragging in the SS and comitting to full spread in one gesture
affd153Michael Zanetti
qml/Stages/TabletStage.qml+1−5
@@ -292,7 +292,7 @@ Item {
292 }
292 }
293 return 1;
293 return 1;
294 }
294 }
295− if (index == 2 && spreadView.nextInStack == 1) {
295+ if (index == 2 && spreadView.nextInStack == 1 && priv.sideStageAppId) {
296 return 3;
296 return 3;
297 }
297 }
298 return index;
298 return index;
@@ -340,10 +340,6 @@ Item {
340 width: model.stage == ApplicationInfoInterface.MainStage ? spreadView.width : spreadView.sideStageWidth
340 width: model.stage == ApplicationInfoInterface.MainStage ? spreadView.width : spreadView.sideStageWidth
341 x: spreadView.width
341 x: spreadView.width
342 z: spreadView.indexToZIndex(index)
342 z: spreadView.indexToZIndex(index)
343−
344− onZChanged: print("z changed for", model.appId, z)
345− onWidthChanged: print("width changed!", width)
346−
347 active: model.appId == priv.mainStageAppId || model.appId == priv.sideStageAppId
343 active: model.appId == priv.mainStageAppId || model.appId == priv.sideStageAppId
348 zIndex: z
344 zIndex: z
349 selected: spreadView.selectedIndex == index
345 selected: spreadView.selectedIndex == index