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

Merge pull request #21226 from Joehuu/beatmap-card-expanded-block-clicks

Fix beatmap card expanded content not blocking clicks from behind
This commit is contained in:
Dan Balasescu 2022-11-14 09:48:12 +09:00 committed by GitHub
commit 6aaafef696
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,6 +59,8 @@ namespace osu.Game.Beatmaps.Drawables.Cards
return base.OnScroll(e);
}
protected override bool OnClick(ClickEvent e) => true;
private class ExpandedContentScrollbar : OsuScrollbar
{
public ExpandedContentScrollbar(Direction scrollDir)