mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 00:02:54 +08:00
Fix click-to-return container still handling hover when inactive
This commit is contained in:
parent
8f217d1e97
commit
08fd0ea086
@ -464,6 +464,8 @@ namespace osu.Game.Overlays.Mods
|
||||
|
||||
public Action? OnClicked { get; set; }
|
||||
|
||||
public override bool HandlePositionalInput => base.HandlePositionalInput && HandleMouse.Value;
|
||||
|
||||
protected override bool Handle(UIEvent e)
|
||||
{
|
||||
if (!HandleMouse.Value)
|
||||
|
Loading…
Reference in New Issue
Block a user