1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-19 16:03:14 +08:00

Fix beatmap card play button not working with touch inputs when not hovered

This commit is contained in:
Joseph Madamba 2022-06-10 14:04:03 -07:00
parent d6b9f385c1
commit 1107e267e3

View File

@ -43,6 +43,9 @@ namespace osu.Game.Beatmaps.Drawables.Cards.Buttons
Anchor = Origin = Anchor.Centre;
// needed for touch input to work when card is not hovered/expanded
AlwaysPresent = true;
Children = new Drawable[]
{
icon = new SpriteIcon