Fix switch case for ControlBar rotation

This commit is contained in:
Renaud Casenave-Péré 2021-02-22 08:56:24 +01:00
parent f42ddad59b
commit 4fdd1cd06b

View file

@ -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