mirror of
https://github.com/ppy/osu.git
synced 2025-02-20 20:33:21 +08:00
Fix rotation handle visibility logic not handling two handles hovered at once
This commit is contained in:
parent
80e231d90a
commit
96d3586294
@ -84,8 +84,8 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
if (activeHandle?.IsHeld == true)
|
||||
return;
|
||||
|
||||
activeHandle = rotationHandles.SingleOrDefault(h => h.IsHeld || h.IsHovered);
|
||||
activeHandle ??= allDragHandles.SingleOrDefault(h => h.IsHovered);
|
||||
activeHandle = rotationHandles.FirstOrDefault(h => h.IsHeld || h.IsHovered);
|
||||
activeHandle ??= allDragHandles.FirstOrDefault(h => h.IsHovered);
|
||||
|
||||
if (activeHandle != null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user