1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-09 03:13:39 +08:00

Merge pull request #26353 from peppy/fix-editor-left-right-crash

Fix crash when dragging rotation control in editor with both mouse buttons
This commit is contained in:
Bartłomiej Dach
2024-01-03 08:55:34 +01:00
committed by GitHub
Unverified
@@ -62,6 +62,9 @@ namespace osu.Game.Screens.Edit.Compose.Components
protected override bool OnDragStart(DragStartEvent e)
{
if (e.Button != MouseButton.Left)
return false;
if (rotationHandler == null) return false;
rotationHandler.Begin();