1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 13:23:22 +08:00

Fix editor rotation allowing spinner only bug

This commit is contained in:
Nguyên Minh Hồ 2024-03-30 16:02:31 +07:00
parent 9950395e5f
commit 8d6358a138

View File

@ -42,7 +42,7 @@ namespace osu.Game.Rulesets.Osu.Edit
{
var quad = GeometryUtils.GetSurroundingQuad(selectedMovableObjects);
CanRotateSelectionOrigin.Value = quad.Width > 0 || quad.Height > 0;
CanRotatePlayfieldOrigin.Value = selectedItems.Any();
CanRotatePlayfieldOrigin.Value = selectedMovableObjects.Any();
}
private OsuHitObject[]? objectsInRotation;