Skip to content
Snippets Groups Projects
Commit 3b550858 authored by Felix Gerking's avatar Felix Gerking
Browse files

Rotation: Fix 90 and 270 degree screen rotation

Now the applications are also centered correctly at 90 and 270 degrees
rotation.

BCS 746-000787
parent f481f4ec
No related branches found
No related tags found
1 merge request!10Rotation: Fix 90 and 270 degree screen rotation
......@@ -74,9 +74,10 @@ WaylandOutput {
WaylandMouseTracker {
id: mouseTracker
anchors.fill: parent
anchors.centerIn: parent
windowSystemCursorEnabled: true
rotation: 0
width: (rotation==90 || rotation==270) ? parent.height : parent.width
height: (rotation==90 || rotation==270) ? parent.width : parent.height
Rectangle {
anchors.fill: parent
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment