1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 23:52:57 +08:00

Scroll to column when mouse is released rather than pressed

This commit is contained in:
Bartłomiej Dach 2022-04-26 22:01:24 +02:00
parent b0d6e16658
commit 13a36f2e51
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -407,7 +407,7 @@ namespace osu.Game.Overlays.Mods
this.FadeColour(targetColour, 300, Easing.OutQuint);
}
protected override bool OnMouseDown(MouseDownEvent e)
protected override bool OnClick(ClickEvent e)
{
if (!Active.Value)
RequestScroll?.Invoke(this);