From 417a5ca7131e4d666756774f719e3894cd0ef3d5 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Tue, 18 Apr 2017 18:29:24 +0900 Subject: [PATCH] A bit of renaming. --- osu.Game/Screens/Play/SongProgress.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/osu.Game/Screens/Play/SongProgress.cs b/osu.Game/Screens/Play/SongProgress.cs index bd29065560..dd6ba67b2e 100644 --- a/osu.Game/Screens/Play/SongProgress.cs +++ b/osu.Game/Screens/Play/SongProgress.cs @@ -18,7 +18,7 @@ namespace osu.Game.Screens.Play { public class SongProgress : OverlayContainer { - private const int progress_height = 5; + private const int bottom_bar_height = 5; protected override bool HideOnEscape => false; @@ -71,8 +71,8 @@ private void load(OsuColour colours) public SongProgress() { - Height = progress_height + SongProgressGraph.Column.HEIGHT + handle_size.Y; - Y = progress_height; + Height = bottom_bar_height + SongProgressGraph.Column.HEIGHT + handle_size.Y; + Y = bottom_bar_height; Children = new Drawable[] { @@ -82,9 +82,9 @@ public SongProgress() Origin = Anchor.BottomLeft, Anchor = Anchor.BottomLeft, Height = SongProgressGraph.Column.HEIGHT, - Margin = new MarginPadding { Bottom = progress_height }, + Margin = new MarginPadding { Bottom = bottom_bar_height }, }, - bar = new SongProgressBar(progress_height, SongProgressGraph.Column.HEIGHT, handle_size) + bar = new SongProgressBar(bottom_bar_height, SongProgressGraph.Column.HEIGHT, handle_size) { Alpha = 0, Anchor = Anchor.BottomLeft, @@ -113,7 +113,7 @@ public void ToggleBar() private void updateBarVisibility() { bar.FadeTo(barVisible ? 1 : 0, transition_duration, EasingTypes.In); - MoveTo(new Vector2(0, barVisible ? 0 : progress_height), transition_duration, EasingTypes.In); + MoveTo(new Vector2(0, barVisible ? 0 : bottom_bar_height), transition_duration, EasingTypes.In); } protected override void PopIn()