@@ -26,8 +26,8 @@ FocusScope {
2626 // (minus the window decoration size in case hasDecoration and showDecoration are true)
2727 // The surface might not be able to resize to the requested values. It will return its actual size
2828 // in implicitWidth/implicitHeight.
29− implicitWidth: !counterRotate ? applicationWindow.implicitWidth : applicationWindow.implicitHeight
30− implicitHeight: decorationHeight + (!counterRotate ? applicationWindow.implicitHeight : applicationWindow.implicitWidth)
29+ implicitWidth: applicationWindow.implicitWidth
30+ implicitHeight: decorationHeight + applicationWindow.implicitHeight
3131
3232 property alias application: applicationWindow.application
3333 property alias surface: applicationWindow.surface
@@ -160,6 +160,7 @@ FocusScope {
160160
161161 transform: [
162162 Rotation {
163+ id: rotationTransform
163164 readonly property int rotationAngle: applicationWindow.application &&
164165 applicationWindow.application.rotatesWindowContents
165166 ? ((360 - applicationWindow.surfaceOrientationAngle) % 360) : 0
@@ -184,6 +185,4 @@ FocusScope {
184185
185186 ]
186187 }
187−
188−// Rectangle { anchors.fill: parent; color: "blue"; opacity: .3 }
189188}