Fix editor play button being sized incorrectly (#5037)

Fix editor play button being sized incorrectly
This commit is contained in:
Dean Herbert 2019-06-16 05:06:20 +09:00 committed by GitHub
commit b7dfd90663
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,12 +36,11 @@ namespace osu.Game.Screens.Edit.Components
playButton = new IconButton playButton = new IconButton
{ {
Anchor = Anchor.CentreLeft, Anchor = Anchor.CentreLeft,
Origin = Anchor.Centre, Origin = Anchor.CentreLeft,
Scale = new Vector2(1.4f), Scale = new Vector2(1.4f),
IconScale = new Vector2(1.4f), IconScale = new Vector2(1.4f),
Icon = FontAwesome.Regular.PlayCircle, Icon = FontAwesome.Regular.PlayCircle,
Action = togglePause, Action = togglePause,
Padding = new MarginPadding { Left = 20 }
}, },
new OsuSpriteText new OsuSpriteText
{ {