@@ -16,7 +16,6 @@
17import QtQuick 2.0
17import QtQuick 2.0
18import QtQuick.Window 2.0
18import QtQuick.Window 2.0
19−import Ubuntu.Components 0.1
20import Unity.Application 0.1
19import Unity.Application 0.1
@@ -27,12 +26,14 @@ Item {
27 width: tablet ? units.gu(160) : applicationArguments.hasGeometry() ? applicationArguments.width() : units.gu(40)
26 width: tablet ? units.gu(160) : applicationArguments.hasGeometry() ? applicationArguments.width() : units.gu(40)
28 height: tablet ? units.gu(100) : applicationArguments.hasGeometry() ? applicationArguments.height() : units.gu(71)
27 height: tablet ? units.gu(100) : applicationArguments.hasGeometry() ? applicationArguments.height() : units.gu(71)
30− OrientationHelper {
29+ Item {
31− orientationAngle: Screen.angleBetween(nativeOrientation, Screen.primaryOrientation)
31+ rotation: Screen.angleBetween(nativeOrientation, Screen.primaryOrientation)
32− transitionEnabled: false
34− id: shell
33+ x: (rotation != 0) ? 0 : (parent.width - parent.height) / 2
35− anchors.fill: parent
34+ y: (rotation != 0) ? 0 : -(parent.width - parent.height) / 2
35+ width: (rotation != 0) ? parent.width : parent.height
36+ height: (rotation != 0) ? parent.height : parent.width