mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 15:12:57 +08:00
Remove incorrect (and unintended) modulus logic
This commit is contained in:
parent
f9d51656b6
commit
0d575f5728
@ -54,7 +54,7 @@ namespace osu.Game.Skinning.Editor
|
|||||||
(!anchor.HasFlagFast(Anchor.x1) && !anchor.HasFlagFast(Anchor.y1))
|
(!anchor.HasFlagFast(Anchor.x1) && !anchor.HasFlagFast(Anchor.y1))
|
||||||
// ..or if any of the selection have been rotated.
|
// ..or if any of the selection have been rotated.
|
||||||
// this is to avoid requiring skew logic (which would likely not be the user's expected transform anyway).
|
// this is to avoid requiring skew logic (which would likely not be the user's expected transform anyway).
|
||||||
|| SelectedBlueprints.Any(b => !Precision.AlmostEquals(((Drawable)b.Item).Rotation % 90, 0));
|
|| SelectedBlueprints.Any(b => !Precision.AlmostEquals(((Drawable)b.Item).Rotation, 0));
|
||||||
|
|
||||||
if (shouldAspectLock)
|
if (shouldAspectLock)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user