Fix switch case for ControlBar rotation
This commit is contained in:
parent
f42ddad59b
commit
4fdd1cd06b
1 changed files with 3 additions and 2 deletions
|
|
@ -450,8 +450,9 @@ ApplicationWindow {
|
|||
switch (app.orientation) {
|
||||
case Orientation.Portrait: return 0;
|
||||
case Orientation.Landscape: return 90;
|
||||
case Orientation.PortraitInverted: 180;
|
||||
case Orientation.LandscapeInverted: 270;
|
||||
case Orientation.PortraitInverted: return 180;
|
||||
case Orientation.LandscapeInverted: return 270;
|
||||
}
|
||||
}
|
||||
|
||||
transformOrigin: Item.TopLeft
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue