mirror of
https://github.com/ppy/osu
synced 2025-01-09 23:59:44 +00:00
Fixes
This commit is contained in:
parent
aa43b138b0
commit
5baa887f55
@ -31,7 +31,7 @@ namespace osu.Game.Modes.UI
|
||||
private Bindable<bool> showKeyCounter;
|
||||
private Bindable<bool> showHud;
|
||||
|
||||
private static bool has_shown_notification_once = false;
|
||||
private static bool hasShownNotificationOnce;
|
||||
|
||||
protected abstract KeyCounterCollection CreateKeyCounter();
|
||||
protected abstract ComboCounter CreateComboCounter();
|
||||
@ -69,9 +69,9 @@ namespace osu.Game.Modes.UI
|
||||
showHud.ValueChanged += hudVisibilityChanged;
|
||||
showHud.TriggerChange();
|
||||
|
||||
if (!showHud && !has_shown_notification_once)
|
||||
if (!showHud && !hasShownNotificationOnce)
|
||||
{
|
||||
has_shown_notification_once = true;
|
||||
hasShownNotificationOnce = true;
|
||||
|
||||
notificationManager?.Post(new SimpleNotification
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user