1
0
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:
Bartłomiej Dach 2022-05-06 12:26:09 +02:00
parent 8f217d1e97
commit 08fd0ea086
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -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)