mirror of
https://github.com/ppy/osu
synced 2025-01-25 07:13:22 +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> showKeyCounter;
|
||||||
private Bindable<bool> showHud;
|
private Bindable<bool> showHud;
|
||||||
|
|
||||||
private static bool has_shown_notification_once = false;
|
private static bool hasShownNotificationOnce;
|
||||||
|
|
||||||
protected abstract KeyCounterCollection CreateKeyCounter();
|
protected abstract KeyCounterCollection CreateKeyCounter();
|
||||||
protected abstract ComboCounter CreateComboCounter();
|
protected abstract ComboCounter CreateComboCounter();
|
||||||
@ -69,9 +69,9 @@ namespace osu.Game.Modes.UI
|
|||||||
showHud.ValueChanged += hudVisibilityChanged;
|
showHud.ValueChanged += hudVisibilityChanged;
|
||||||
showHud.TriggerChange();
|
showHud.TriggerChange();
|
||||||
|
|
||||||
if (!showHud && !has_shown_notification_once)
|
if (!showHud && !hasShownNotificationOnce)
|
||||||
{
|
{
|
||||||
has_shown_notification_once = true;
|
hasShownNotificationOnce = true;
|
||||||
|
|
||||||
notificationManager?.Post(new SimpleNotification
|
notificationManager?.Post(new SimpleNotification
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user