Fix back button hover sounds playing in unclickable area

This commit is contained in:
Joehu
2019-08-05 20:43:30 -07:00
parent bf0f6e1053
commit ee6a90c48d
2 changed files with 10 additions and 7 deletions

View File

@ -22,8 +22,8 @@ namespace osu.Game.Graphics.UserInterface
Child = button = new TwoLayerButton
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
Anchor = Anchor.TopLeft,
Origin = Anchor.TopLeft,
Text = @"back",
Icon = OsuIcon.LeftCircle,
Action = () => Action?.Invoke()