on xenial help sign in
Re-add handling for side stage rotated apps
commita2e4e08219e5b62960742ff2f0becf3ab61fbc1e authorJosh Arenson <joshua.arenson@canonical.com> dateTue 13 Oct 2015, 16:51 (11 years ago) parente3ce68e
1 file changed+8−1
qml/Stages/TabletStage.qml+8−1
qml/Stages/TabletStage.qml+8−1
@@ -692,7 +692,14 @@ Rectangle {
692692
693693 shellOrientationAngle: wantsMainStage ? root.shellOrientationAngle : 0
694694 shellOrientation: wantsMainStage ? root.shellOrientation : Qt.PortraitOrientation
695− orientations: root.orientations
695+ orientations: Orientations {
696+ primary: spreadTile.wantsMainStage ? root.orientations.primary : Qt.PortraitOrientation
697+ native_: spreadTile.wantsMainStage ? root.orientations.native_ : Qt.PortraitOrientation
698+ portrait: root.orientations.portrait
699+ invertedPortrait: root.orientations.invertedPortrait
700+ landscape: root.orientations.landscape
701+ invertedLandscape: root.orientations.invertedLandscape
702+ }
696703
697704 onClicked: {
698705 if (spreadView.phase == 2) {