mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 13:22:55 +08:00
Fix editor rotation allowing spinner only bug
This commit is contained in:
parent
9950395e5f
commit
8d6358a138
@ -42,7 +42,7 @@ namespace osu.Game.Rulesets.Osu.Edit
|
|||||||
{
|
{
|
||||||
var quad = GeometryUtils.GetSurroundingQuad(selectedMovableObjects);
|
var quad = GeometryUtils.GetSurroundingQuad(selectedMovableObjects);
|
||||||
CanRotateSelectionOrigin.Value = quad.Width > 0 || quad.Height > 0;
|
CanRotateSelectionOrigin.Value = quad.Width > 0 || quad.Height > 0;
|
||||||
CanRotatePlayfieldOrigin.Value = selectedItems.Any();
|
CanRotatePlayfieldOrigin.Value = selectedMovableObjects.Any();
|
||||||
}
|
}
|
||||||
|
|
||||||
private OsuHitObject[]? objectsInRotation;
|
private OsuHitObject[]? objectsInRotation;
|
||||||
|
Loading…
Reference in New Issue
Block a user