mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 15:17:44 +08:00
fix horizontal flip rotation
This commit is contained in:
parent
c18814817b
commit
7dc006f9ba
@ -125,7 +125,7 @@ namespace osu.Game.Rulesets.Osu.Edit
|
||||
// however it's still possible to achieve that flip by combining multiple flips over the other axes.
|
||||
flipAxis = direction == Direction.Vertical
|
||||
? GeometryUtils.RotateVector(Vector2.UnitX, -((gridToolbox.GridLinesRotation.Value + 390) % 60 + 60))
|
||||
: GeometryUtils.RotateVector(Vector2.UnitX, -((gridToolbox.GridLinesRotation.Value + 390) % 60 - 60));
|
||||
: GeometryUtils.RotateVector(Vector2.UnitX, -((gridToolbox.GridLinesRotation.Value + 360) % 60 - 30));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user