stick to primary orientation when showing the SIM PIN notification
commitb826cc6cc02289884e4b392def7d1c9be26a1882
authorLukáš Tinkl <lukas.tinkl@canonical.com>
dateFri 5 Aug 2016, 12:00 (10 years ago)
parent5592a07
qml/Shell.qml+1−1
@@ -86,7 +86,7 @@ StyledItem {
8686 if (startingUp) {
8787 // Ensure we don't rotate during start up
8888 return Qt.PrimaryOrientation;
89− } else if (greeter && greeter.shown) {
89+ } else if (showingGreeter || notifications.topmostIsFullscreen) {
9090 return Qt.PrimaryOrientation;
9191 } else if (applicationsDisplayLoader.item) {
9292 return shell.orientations.map(applicationsDisplayLoader.item.supportedOrientations);