1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 19:27:24 +08:00

revert and make VisibilityContainer not AlwaysPresent

This commit is contained in:
chrisny286 2019-01-23 02:37:17 +01:00
parent f01ba17d1f
commit 12503b4d07
2 changed files with 0 additions and 3 deletions

View File

@ -48,7 +48,6 @@ namespace osu.Game.Screens.Play
{
visibilityContainer = new Container {
RelativeSizeAxes = Axes.Both,
AlwaysPresent = true, // The hud may be hidden but certain elements may need to still be updated
Children = new Drawable[] {
new Container {
Anchor = Anchor.TopCentre,
@ -102,7 +101,6 @@ namespace osu.Game.Screens.Play
{
showHud = config.GetBindable<bool>(OsuSetting.ShowInterface);
showHud.ValueChanged += hudVisibility => visibilityContainer.FadeTo(hudVisibility ? 1 : 0, duration);
showHud.ValueChanged += v => Progress.AllowSeeking = v;
showHud.TriggerChange();
if (!showHud && !hasShownNotificationOnce)

View File

@ -125,7 +125,6 @@ namespace osu.Game.Screens.Play
set
{
if (allowSeeking == value) return;
if (!replayLoaded) return;
allowSeeking = value;
updateBarVisibility();
}