Fix bug in OrientedShell.orientationChangesEnabled
commit4224c59f48e02f6979d9d913c2bdde011c5852cc
authorDaniel d'Andrada <daniel.dandrada@canonical.com>
dateFri 30 Oct 2015, 11:37 (11 years ago)
parenteb6d72e
qml/OrientedShell.qml+2−2
@@ -89,8 +89,8 @@ Rectangle {
8989
9090 // we must rotate to a supported orientation regardless of shell's preference
9191 property bool orientationChangesEnabled:
92− (orientation & supportedOrientations) === 0 ? true
93− : shell.orientationChangesEnabled
92+ (shell.orientation & supportedOrientations) === 0 ? true
93+ : shell.orientationChangesEnabled
9494
9595
9696 Binding {