mirror of
https://github.com/ppy/osu
synced 2024-12-16 11:56:31 +00: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))
|
||||
// ..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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user