mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 20:37:26 +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.
|
// however it's still possible to achieve that flip by combining multiple flips over the other axes.
|
||||||
flipAxis = direction == Direction.Vertical
|
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 + 390) % 60 - 60));
|
: GeometryUtils.RotateVector(Vector2.UnitX, -((gridToolbox.GridLinesRotation.Value + 360) % 60 - 30));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user