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
1 changed files with 1 additions and 1 deletions

View File

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