From a7860dd4c1ff88710d317f1eaad031bcba056172 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Dach?= Date: Mon, 9 Mar 2026 11:58:38 +0100 Subject: [PATCH] Fix timeline selection box showing rotation handles closes https://github.com/ppy/osu/issues/36888. oooooooops. --- .../Screens/Edit/Compose/Components/SelectionBox.cs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/osu.Game/Screens/Edit/Compose/Components/SelectionBox.cs b/osu.Game/Screens/Edit/Compose/Components/SelectionBox.cs index 03838182a6..40eb1e66c7 100644 --- a/osu.Game/Screens/Edit/Compose/Components/SelectionBox.cs +++ b/osu.Game/Screens/Edit/Compose/Components/SelectionBox.cs @@ -286,10 +286,13 @@ namespace osu.Game.Screens.Edit.Compose.Components dragHandles.ClearRotationHandles(); - addRotateHandle(Anchor.TopLeft); - addRotateHandle(Anchor.TopRight); - addRotateHandle(Anchor.BottomLeft); - addRotateHandle(Anchor.BottomRight); + if (canRotate.Value) + { + addRotateHandle(Anchor.TopLeft); + addRotateHandle(Anchor.TopRight); + addRotateHandle(Anchor.BottomLeft); + addRotateHandle(Anchor.BottomRight); + } } private void addRotateHandle(Anchor anchor)