private void load(OsuConfigManager config, NotificationManager notificationManager) { showKeyCounter = config.GetBindable <bool>(OsuConfig.KeyOverlay); showKeyCounter.ValueChanged += keyCounterVisibility => { if (keyCounterVisibility) { KeyCounter.FadeIn(duration); } else { KeyCounter.FadeOut(duration); } }; showKeyCounter.TriggerChange(); showHud = config.GetBindable <bool>(OsuConfig.ShowInterface); showHud.ValueChanged += hudVisibility => { if (hudVisibility) { content.FadeIn(duration); } else { content.FadeOut(duration); } }; showHud.TriggerChange(); if (!showHud && !hasShownNotificationOnce) { hasShownNotificationOnce = true; notificationManager?.Post(new SimpleNotification { Text = @"The score overlay is currently disabled. You can toggle this by pressing Shift+Tab." }); } }