1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 03:27:24 +08:00

Fix mute button not blocking outside overlay closing presses

This commit is contained in:
Joseph Madamba 2023-01-12 14:20:16 -08:00
parent b3d4da8fc9
commit a16050534d

View File

@ -88,5 +88,11 @@ namespace osu.Game.Overlays.Volume
{
Content.TransformTo<Container<Drawable>, ColourInfo>("BorderColour", unhoveredColour, 500, Easing.OutQuint);
}
protected override bool OnMouseDown(MouseDownEvent e)
{
base.OnMouseDown(e);
return true;
}
}
}