on xenial help sign in
Fix bug in OrientedShell.orientationChangesEnabled
4224c59Daniel d'Andrada
qml/OrientedShell.qml+2−2
@@ -89,8 +89,8 @@ Rectangle {
89
89
90 // we must rotate to a supported orientation regardless of shell's preference
90 // we must rotate to a supported orientation regardless of shell's preference
91 property bool orientationChangesEnabled:
91 property bool orientationChangesEnabled:
92− (orientation & supportedOrientations) === 0 ? true
92+ (shell.orientation & supportedOrientations) === 0 ? true
93− : shell.orientationChangesEnabled
93+ : shell.orientationChangesEnabled
94
94
95
95
96 Binding {
96 Binding {