mirror of
https://github.com/ppy/osu.git
synced 2025-01-21 07:33:12 +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 Action? OnClicked { get; set; }
|
||||||
|
|
||||||
|
public override bool HandlePositionalInput => base.HandlePositionalInput && HandleMouse.Value;
|
||||||
|
|
||||||
protected override bool Handle(UIEvent e)
|
protected override bool Handle(UIEvent e)
|
||||||
{
|
{
|
||||||
if (!HandleMouse.Value)
|
if (!HandleMouse.Value)
|
||||||
|
Loading…
Reference in New Issue
Block a user