From e40ad69a3b4a2759743a4c47a013ca1d894f000b Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Sat, 8 Apr 2017 19:25:40 +0900 Subject: [PATCH] Adjust icon scale of play button. --- osu.Game/Overlays/MusicController.cs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/osu.Game/Overlays/MusicController.cs b/osu.Game/Overlays/MusicController.cs index 997c8cd82f..627c3ea18c 100644 --- a/osu.Game/Overlays/MusicController.cs +++ b/osu.Game/Overlays/MusicController.cs @@ -48,7 +48,7 @@ namespace osu.Game.Overlays private const float progress_height = 10; - private const float bottom_black_area_height = 50; + private const float bottom_black_area_height = 55; public MusicController() { @@ -144,7 +144,8 @@ namespace osu.Game.Overlays }, playButton = new Button { - Scale = new Vector2(1.3f), + Scale = new Vector2(1.4f), + IconScale = new Vector2(1.4f), Action = () => { if (current?.Track == null) return; @@ -423,6 +424,12 @@ namespace osu.Game.Overlays private const float button_size = 30; + public Vector2 IconScale + { + get { return icon.Scale; } + set { icon.Scale = value; } + } + public Button() { AutoSizeAxes = Axes.Both;