Remove incorrect (and unintended) modulus logic

This commit is contained in:
Dean Herbert 2021-05-21 15:06:53 +09:00
parent f9d51656b6
commit 0d575f5728

View File

@ -54,7 +54,7 @@ namespace osu.Game.Skinning.Editor
(!anchor.HasFlagFast(Anchor.x1) && !anchor.HasFlagFast(Anchor.y1))
// ..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).
|| SelectedBlueprints.Any(b => !Precision.AlmostEquals(((Drawable)b.Item).Rotation % 90, 0));
|| SelectedBlueprints.Any(b => !Precision.AlmostEquals(((Drawable)b.Item).Rotation, 0));
if (shouldAspectLock)
{