on xenial help sign in
Fix orientation on manta
commit5555897a1f3a3011621f4a6b250be6ae8822c82d authorGerry Boland <gerry.boland@canonical.com> dateTue 3 Jun 2014, 12:20 (12 years ago) parenta0d4cce
1 file changed+2
qml/OrientedShell.qml+2
qml/OrientedShell.qml+2
@@ -30,6 +30,8 @@ Item {
3030 // check device name and fix orientation if necessary
3131 if (applicationArguments.device() === "flo") {
3232 return Screen.angleBetween(Screen.primaryOrientation, Qt.InvertedLandscapeOrientation);
33+ } else if (applicationArguments.device() === "manta") {
34+ return Screen.angleBetween(Screen.primaryOrientation, Qt.LandscapeOrientation);
3335 }
3436
3537 var screenOrientation = Screen.orientation;