mirror of
https://github.com/ppy/osu.git
synced 2025-02-22 06:02:54 +08:00
Fix beatmap card play button not working with touch inputs when not hovered
This commit is contained in:
parent
d6b9f385c1
commit
1107e267e3
@ -43,6 +43,9 @@ namespace osu.Game.Beatmaps.Drawables.Cards.Buttons
|
|||||||
|
|
||||||
Anchor = Origin = Anchor.Centre;
|
Anchor = Origin = Anchor.Centre;
|
||||||
|
|
||||||
|
// needed for touch input to work when card is not hovered/expanded
|
||||||
|
AlwaysPresent = true;
|
||||||
|
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
icon = new SpriteIcon
|
icon = new SpriteIcon
|
||||||
|
Loading…
Reference in New Issue
Block a user