on xenial help sign in
Enable the sidestage handle to close the sidestage even if there's no main stage app
commitb4384f6c92881f96183c4c1cf3934e468dd3940f authorAlbert Astals <albert.astals@canonical.com> dateThu 20 Feb 2014, 16:16 (13 years ago) parenteb00131
1 file changed+2−2
qml/Shell.qml+2−2
qml/Shell.qml+2−2
@@ -162,7 +162,7 @@ FocusScope {
162162 width: {
163163 if (clip) {
164164 var w = parent.width - sideStage.width
165− w += stagesOuterContainer.x + stages.x
165+ w += stagesOuterContainer.x + stages.x + (sideStage.x - sideStageRevealer.openedValue)
166166 return Math.min(w, parent.width);
167167 } else {
168168 return parent.width;
@@ -367,7 +367,7 @@ FocusScope {
367367 Revealer {
368368 id: sideStageRevealer
369369
370− enabled: mainStage.applications.count > 0 && sideStage.applications.count > 0
370+ enabled: sideStage.applications.count > 0
371371 && sideStage.available
372372 direction: Qt.RightToLeft
373373 openedValue: parent.width - sideStage.width