From 2c2a4169c6c09e130b0782b823bf16b98fa9f6e5 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 7 Apr 2017 15:28:18 +0900 Subject: [PATCH] Better structure for button layout. --- osu.Game/Overlays/MusicController.cs | 73 ++++++++++++++++------------ 1 file changed, 42 insertions(+), 31 deletions(-) diff --git a/osu.Game/Overlays/MusicController.cs b/osu.Game/Overlays/MusicController.cs index c91618f959..73b7695dab 100644 --- a/osu.Game/Overlays/MusicController.cs +++ b/osu.Game/Overlays/MusicController.cs @@ -46,6 +46,8 @@ namespace osu.Game.Overlays private Container dragContainer; + private const float progress_height = 10; + private const float bottom_black_area_height = 50; public MusicController() @@ -117,53 +119,62 @@ namespace osu.Game.Overlays Text = @"Nothing to play", Font = @"Exo2.0-BoldItalic" }, - new FillFlowContainer