Leave bigger gap if replaying

This commit is contained in:
Paul Teng 2018-10-30 08:32:12 -04:00
parent b351aae93f
commit 4bc9161cd1
2 changed files with 4 additions and 0 deletions

View File

@ -134,11 +134,13 @@ private void replayLoadedValueChanged(bool loaded)
{ {
PlayerSettingsOverlay.Show(); PlayerSettingsOverlay.Show();
ModDisplay.FadeIn(200); ModDisplay.FadeIn(200);
KeyCounter.Margin = new MarginPadding(10) { Bottom = 30 };
} }
else else
{ {
PlayerSettingsOverlay.Hide(); PlayerSettingsOverlay.Hide();
ModDisplay.Delay(2000).FadeOut(200); ModDisplay.Delay(2000).FadeOut(200);
KeyCounter.Margin = new MarginPadding(10);
} }
} }

View File

@ -135,6 +135,8 @@ private void updateBarVisibility()
{ {
bar.FadeTo(allowSeeking ? 1 : 0, transition_duration, Easing.In); bar.FadeTo(allowSeeking ? 1 : 0, transition_duration, Easing.In);
this.MoveTo(new Vector2(0, allowSeeking ? 0 : bottom_bar_height), transition_duration, Easing.In); this.MoveTo(new Vector2(0, allowSeeking ? 0 : bottom_bar_height), transition_duration, Easing.In);
info.Margin = new MarginPadding { Bottom = Height - (allowSeeking ? 0 : handle_size.Y) };
} }
protected override void PopIn() protected override void PopIn()