1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-24 02:09:54 +08:00

Don't block input on mouse down

This commit is contained in:
Dan Balasescu
2025-10-22 22:22:44 +09:00
Unverified
parent 5fc8cde0f7
commit 9a089315b8
@@ -157,16 +157,14 @@ namespace osu.Game.Screens.OnlinePlay.Matchmaking.Match.BeatmapSelect
protected override void OnHoverLost(HoverLostEvent e)
{
base.OnHoverLost(e);
lighting.FadeOut(200);
}
protected override bool OnMouseDown(MouseDownEvent e)
{
if (AllowSelection && e.Button == MouseButton.Left)
{
scaleContainer.ScaleTo(0.95f, 400, Easing.OutExpo);
return true;
}
return base.OnMouseDown(e);
}
@@ -174,6 +172,7 @@ namespace osu.Game.Screens.OnlinePlay.Matchmaking.Match.BeatmapSelect
protected override void OnMouseUp(MouseUpEvent e)
{
base.OnMouseUp(e);
if (e.Button == MouseButton.Left)
scaleContainer.ScaleTo(1f, 500, Easing.OutElasticHalf);
}