mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:57:36 +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:
commit
253ddf6637
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user