1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-25 17:10:09 +08:00

Merge pull request #28371 from smoogipoo/fix-collections-menu-drag

Fix unable to drag-scroll on collections right-click menu
This commit is contained in:
Dean Herbert
2024-06-01 19:16:14 +09:00
committed by GitHub
Unverified
@@ -26,9 +26,12 @@ namespace osu.Game.Graphics.UserInterface
// Right mouse button is a special case where we allow actioning without dismissing the menu.
// This is achieved by not calling `Clicked` (as done by the base implementation in OnClick).
if (IsActionable && e.Button == MouseButton.Right)
{
Item.Action.Value?.Invoke();
return true;
}
return true;
return false;
}
private partial class ToggleTextContainer : TextContainer