From d7c39a00b43100038207f9f75108ecfee4fba6d0 Mon Sep 17 00:00:00 2001 From: Andrey Zavadskiy Date: Fri, 31 Mar 2017 16:43:31 +0300 Subject: [PATCH 01/11] Hud Visibility --- osu.Game/Configuration/OsuConfigManager.cs | 2 +- osu.Game/Modes/UI/HudOverlay.cs | 24 ++++++++++++-- .../Sections/Gameplay/GeneralOptions.cs | 5 +++ osu.Game/Screens/Play/Player.cs | 32 +++++++++++++++++-- 4 files changed, 58 insertions(+), 5 deletions(-) diff --git a/osu.Game/Configuration/OsuConfigManager.cs b/osu.Game/Configuration/OsuConfigManager.cs index 6190678e1e..61397d2bee 100644 --- a/osu.Game/Configuration/OsuConfigManager.cs +++ b/osu.Game/Configuration/OsuConfigManager.cs @@ -36,6 +36,7 @@ namespace osu.Game.Configuration Set(OsuConfig.MenuParallax, true); Set(OsuConfig.KeyOverlay, false); + Set(OsuConfig.ShowInterface, true); //todo: implement all settings below this line (remove the Disabled set when doing so). Set(OsuConfig.MouseSpeed, 1.0).Disabled = true; @@ -89,7 +90,6 @@ namespace osu.Game.Configuration Set(OsuConfig.LastVersionPermissionsFailed, string.Empty).Disabled = true; Set(OsuConfig.LoadSubmittedThread, true).Disabled = true; Set(OsuConfig.LobbyPlayMode, -1).Disabled = true; - Set(OsuConfig.ShowInterface, true).Disabled = true; Set(OsuConfig.ShowInterfaceDuringRelax, false).Disabled = true; Set(OsuConfig.LobbyShowExistingOnly, false).Disabled = true; Set(OsuConfig.LobbyShowFriendsOnly, false).Disabled = true; diff --git a/osu.Game/Modes/UI/HudOverlay.cs b/osu.Game/Modes/UI/HudOverlay.cs index a6c54e7f3a..42d789c741 100644 --- a/osu.Game/Modes/UI/HudOverlay.cs +++ b/osu.Game/Modes/UI/HudOverlay.cs @@ -22,6 +22,9 @@ namespace osu.Game.Modes.UI public readonly HealthDisplay HealthDisplay; private Bindable showKeyCounter; + private Bindable showHud; + + public bool IsVisible => showHud; protected abstract KeyCounterCollection CreateKeyCounter(); protected abstract ComboCounter CreateComboCounter(); @@ -47,11 +50,15 @@ namespace osu.Game.Modes.UI private void load(OsuConfigManager config) { showKeyCounter = config.GetBindable(OsuConfig.KeyOverlay); - showKeyCounter.ValueChanged += visibilityChanged; + showKeyCounter.ValueChanged += keyCounterVisibilityChanged; showKeyCounter.TriggerChange(); + + showHud = config.GetBindable(OsuConfig.ShowInterface); + showHud.ValueChanged += hudVisibilityChanged; + showHud.TriggerChange(); } - private void visibilityChanged(object sender, EventArgs e) + private void keyCounterVisibilityChanged(object sender, EventArgs e) { if (showKeyCounter) KeyCounter.Show(); @@ -59,6 +66,19 @@ namespace osu.Game.Modes.UI KeyCounter.Hide(); } + private void hudVisibilityChanged(object sender, EventArgs e) + { + if (showHud) + Show(); + else + Hide(); + } + + public void ChangeVisibility() + { + showHud.Value = !showHud.Value; + } + public void BindProcessor(ScoreProcessor processor) { //bind processor bindables to combocounter, score display etc. diff --git a/osu.Game/Overlays/Options/Sections/Gameplay/GeneralOptions.cs b/osu.Game/Overlays/Options/Sections/Gameplay/GeneralOptions.cs index 70a2c52322..ee6778a47a 100644 --- a/osu.Game/Overlays/Options/Sections/Gameplay/GeneralOptions.cs +++ b/osu.Game/Overlays/Options/Sections/Gameplay/GeneralOptions.cs @@ -39,6 +39,11 @@ namespace osu.Game.Overlays.Options.Sections.Gameplay Bindable = (BindableDouble)config.GetBindable(OsuConfig.ScoreMeterScale) }, new OsuCheckbox + { + LabelText = "Show score overlay", + Bindable = config.GetBindable(OsuConfig.ShowInterface) + }, + new OsuCheckbox { LabelText = "Always show key overlay", Bindable = config.GetBindable(OsuConfig.KeyOverlay) diff --git a/osu.Game/Screens/Play/Player.cs b/osu.Game/Screens/Play/Player.cs index 73d397b24b..592d4a9433 100644 --- a/osu.Game/Screens/Play/Player.cs +++ b/osu.Game/Screens/Play/Player.cs @@ -22,6 +22,9 @@ using osu.Game.Screens.Ranking; using System; using System.Linq; using osu.Game.Modes.Scoring; +using osu.Game.Overlays; +using osu.Game.Overlays.Notifications; +using OpenTK.Input; namespace osu.Game.Screens.Play { @@ -59,8 +62,8 @@ namespace osu.Game.Screens.Play private HudOverlay hudOverlay; private PauseOverlay pauseOverlay; - [BackgroundDependencyLoader] - private void load(AudioManager audio, BeatmapDatabase beatmaps, OsuConfigManager config) + [BackgroundDependencyLoader(true)] + private void load(AudioManager audio, BeatmapDatabase beatmaps, OsuConfigManager config, NotificationManager notificationManager) { var beatmap = Beatmap.Beatmap; @@ -158,6 +161,14 @@ namespace osu.Game.Screens.Play hudOverlay, pauseOverlay }; + + if (!hudOverlay.IsVisible) + { + notificationManager?.Post(new SimpleNotification + { + Text = @"The score overlay is currently disabled. You can toogle this by pressing Shift + Tab." + }); + } } private void initializeSkipButton() @@ -333,5 +344,22 @@ namespace osu.Game.Screens.Play private Bindable mouseWheelDisabled; protected override bool OnWheel(InputState state) => mouseWheelDisabled.Value && !IsPaused; + + protected override bool OnKeyDown(InputState state, KeyDownEventArgs args) + { + if (args.Repeat) return false; + + if (state.Keyboard.ShiftPressed) + { + switch (args.Key) + { + case Key.Tab: + hudOverlay.ChangeVisibility(); + return true; + } + } + + return base.OnKeyDown(state, args); + } } } \ No newline at end of file From 9d027a61cd6b44ec6c278bf008145e78c2c9bbad Mon Sep 17 00:00:00 2001 From: Andrey Zavadskiy Date: Sat, 1 Apr 2017 14:46:45 +0300 Subject: [PATCH 02/11] Move input to HudOverlay --- osu.Game/Modes/UI/HudOverlay.cs | 25 ++++++++++++++++++++----- osu.Game/Screens/Play/Player.cs | 18 ------------------ 2 files changed, 20 insertions(+), 23 deletions(-) diff --git a/osu.Game/Modes/UI/HudOverlay.cs b/osu.Game/Modes/UI/HudOverlay.cs index 42d789c741..215715c526 100644 --- a/osu.Game/Modes/UI/HudOverlay.cs +++ b/osu.Game/Modes/UI/HudOverlay.cs @@ -10,6 +10,8 @@ using osu.Game.Graphics.UserInterface; using osu.Game.Screens.Play; using System; using osu.Game.Modes.Scoring; +using osu.Framework.Input; +using OpenTK.Input; namespace osu.Game.Modes.UI { @@ -35,6 +37,7 @@ namespace osu.Game.Modes.UI protected HudOverlay() { RelativeSizeAxes = Axes.Both; + AlwaysPresent = true; Children = new Drawable[] { @@ -74,11 +77,6 @@ namespace osu.Game.Modes.UI Hide(); } - public void ChangeVisibility() - { - showHud.Value = !showHud.Value; - } - public void BindProcessor(ScoreProcessor processor) { //bind processor bindables to combocounter, score display etc. @@ -93,5 +91,22 @@ namespace osu.Game.Modes.UI { hitRenderer.InputManager.Add(KeyCounter.GetReceptor()); } + + protected override bool OnKeyDown(InputState state, KeyDownEventArgs args) + { + if (args.Repeat) return false; + + if (state.Keyboard.ShiftPressed) + { + switch (args.Key) + { + case Key.Tab: + showHud.Value = !showHud.Value; + return true; + } + } + + return base.OnKeyDown(state, args); + } } } diff --git a/osu.Game/Screens/Play/Player.cs b/osu.Game/Screens/Play/Player.cs index 592d4a9433..e774dea1a6 100644 --- a/osu.Game/Screens/Play/Player.cs +++ b/osu.Game/Screens/Play/Player.cs @@ -24,7 +24,6 @@ using System.Linq; using osu.Game.Modes.Scoring; using osu.Game.Overlays; using osu.Game.Overlays.Notifications; -using OpenTK.Input; namespace osu.Game.Screens.Play { @@ -344,22 +343,5 @@ namespace osu.Game.Screens.Play private Bindable mouseWheelDisabled; protected override bool OnWheel(InputState state) => mouseWheelDisabled.Value && !IsPaused; - - protected override bool OnKeyDown(InputState state, KeyDownEventArgs args) - { - if (args.Repeat) return false; - - if (state.Keyboard.ShiftPressed) - { - switch (args.Key) - { - case Key.Tab: - hudOverlay.ChangeVisibility(); - return true; - } - } - - return base.OnKeyDown(state, args); - } } } \ No newline at end of file From ed476a79f8522aa4e1d4f1a35f5180669bcc4cac Mon Sep 17 00:00:00 2001 From: Andrey Zavadskiy Date: Sun, 2 Apr 2017 16:18:01 +0300 Subject: [PATCH 03/11] Move posting notification in HudOverlay --- osu.Game/Modes/UI/HudOverlay.cs | 16 ++++++++++++---- osu.Game/Screens/Play/Player.cs | 14 ++------------ 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/osu.Game/Modes/UI/HudOverlay.cs b/osu.Game/Modes/UI/HudOverlay.cs index 215715c526..4a2f8f0c41 100644 --- a/osu.Game/Modes/UI/HudOverlay.cs +++ b/osu.Game/Modes/UI/HudOverlay.cs @@ -12,6 +12,8 @@ using System; using osu.Game.Modes.Scoring; using osu.Framework.Input; using OpenTK.Input; +using osu.Game.Overlays; +using osu.Game.Overlays.Notifications; namespace osu.Game.Modes.UI { @@ -26,8 +28,6 @@ namespace osu.Game.Modes.UI private Bindable showKeyCounter; private Bindable showHud; - public bool IsVisible => showHud; - protected abstract KeyCounterCollection CreateKeyCounter(); protected abstract ComboCounter CreateComboCounter(); protected abstract PercentageCounter CreateAccuracyCounter(); @@ -49,8 +49,8 @@ namespace osu.Game.Modes.UI }; } - [BackgroundDependencyLoader] - private void load(OsuConfigManager config) + [BackgroundDependencyLoader(true)] + private void load(OsuConfigManager config, NotificationManager notificationManager) { showKeyCounter = config.GetBindable(OsuConfig.KeyOverlay); showKeyCounter.ValueChanged += keyCounterVisibilityChanged; @@ -59,6 +59,14 @@ namespace osu.Game.Modes.UI showHud = config.GetBindable(OsuConfig.ShowInterface); showHud.ValueChanged += hudVisibilityChanged; showHud.TriggerChange(); + + if (!showHud) + { + notificationManager?.Post(new SimpleNotification + { + Text = @"The score overlay is currently disabled. You can toogle this by pressing Shift + Tab." + }); + } } private void keyCounterVisibilityChanged(object sender, EventArgs e) diff --git a/osu.Game/Screens/Play/Player.cs b/osu.Game/Screens/Play/Player.cs index e774dea1a6..73d397b24b 100644 --- a/osu.Game/Screens/Play/Player.cs +++ b/osu.Game/Screens/Play/Player.cs @@ -22,8 +22,6 @@ using osu.Game.Screens.Ranking; using System; using System.Linq; using osu.Game.Modes.Scoring; -using osu.Game.Overlays; -using osu.Game.Overlays.Notifications; namespace osu.Game.Screens.Play { @@ -61,8 +59,8 @@ namespace osu.Game.Screens.Play private HudOverlay hudOverlay; private PauseOverlay pauseOverlay; - [BackgroundDependencyLoader(true)] - private void load(AudioManager audio, BeatmapDatabase beatmaps, OsuConfigManager config, NotificationManager notificationManager) + [BackgroundDependencyLoader] + private void load(AudioManager audio, BeatmapDatabase beatmaps, OsuConfigManager config) { var beatmap = Beatmap.Beatmap; @@ -160,14 +158,6 @@ namespace osu.Game.Screens.Play hudOverlay, pauseOverlay }; - - if (!hudOverlay.IsVisible) - { - notificationManager?.Post(new SimpleNotification - { - Text = @"The score overlay is currently disabled. You can toogle this by pressing Shift + Tab." - }); - } } private void initializeSkipButton() From e51fdd3c863098687f546c269734e3e9e3a0f6f8 Mon Sep 17 00:00:00 2001 From: Andrey Zavadskiy Date: Mon, 3 Apr 2017 11:41:17 +0300 Subject: [PATCH 04/11] Added container whose visibility will be changable --- osu.Game/Modes/UI/HudOverlay.cs | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/osu.Game/Modes/UI/HudOverlay.cs b/osu.Game/Modes/UI/HudOverlay.cs index 4a2f8f0c41..162fe05148 100644 --- a/osu.Game/Modes/UI/HudOverlay.cs +++ b/osu.Game/Modes/UI/HudOverlay.cs @@ -28,6 +28,8 @@ namespace osu.Game.Modes.UI private Bindable showKeyCounter; private Bindable showHud; + private readonly Container hud; + protected abstract KeyCounterCollection CreateKeyCounter(); protected abstract ComboCounter CreateComboCounter(); protected abstract PercentageCounter CreateAccuracyCounter(); @@ -39,14 +41,19 @@ namespace osu.Game.Modes.UI RelativeSizeAxes = Axes.Both; AlwaysPresent = true; - Children = new Drawable[] + Add(hud = new Container { - KeyCounter = CreateKeyCounter(), - ComboCounter = CreateComboCounter(), - ScoreCounter = CreateScoreCounter(), - AccuracyCounter = CreateAccuracyCounter(), - HealthDisplay = CreateHealthDisplay(), - }; + RelativeSizeAxes = Axes.Both, + + Children = new Drawable[] + { + KeyCounter = CreateKeyCounter(), + ComboCounter = CreateComboCounter(), + ScoreCounter = CreateScoreCounter(), + AccuracyCounter = CreateAccuracyCounter(), + HealthDisplay = CreateHealthDisplay(), + } + }); } [BackgroundDependencyLoader(true)] @@ -80,9 +87,9 @@ namespace osu.Game.Modes.UI private void hudVisibilityChanged(object sender, EventArgs e) { if (showHud) - Show(); + hud.Show(); else - Hide(); + hud.Hide(); } public void BindProcessor(ScoreProcessor processor) From 63a1eef6e4d2ed074a3e0b4b08e8093b8e21a664 Mon Sep 17 00:00:00 2001 From: Andrey Zavadskiy Date: Mon, 3 Apr 2017 11:54:50 +0300 Subject: [PATCH 05/11] Removed unnecessary line --- osu.Game/Modes/UI/HudOverlay.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/osu.Game/Modes/UI/HudOverlay.cs b/osu.Game/Modes/UI/HudOverlay.cs index 162fe05148..e2e18e437e 100644 --- a/osu.Game/Modes/UI/HudOverlay.cs +++ b/osu.Game/Modes/UI/HudOverlay.cs @@ -39,7 +39,6 @@ namespace osu.Game.Modes.UI protected HudOverlay() { RelativeSizeAxes = Axes.Both; - AlwaysPresent = true; Add(hud = new Container { From e1d3befaed9292627473a55cd71c27507e77f5f5 Mon Sep 17 00:00:00 2001 From: Andrey Zavadskiy Date: Mon, 3 Apr 2017 12:03:21 +0300 Subject: [PATCH 06/11] Added bool to ensure the notification is only displayed once per game execution --- osu.Game/Modes/UI/HudOverlay.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/osu.Game/Modes/UI/HudOverlay.cs b/osu.Game/Modes/UI/HudOverlay.cs index e2e18e437e..a259f2d09f 100644 --- a/osu.Game/Modes/UI/HudOverlay.cs +++ b/osu.Game/Modes/UI/HudOverlay.cs @@ -30,6 +30,8 @@ namespace osu.Game.Modes.UI private readonly Container hud; + private static bool has_shown_notification_once = false; + protected abstract KeyCounterCollection CreateKeyCounter(); protected abstract ComboCounter CreateComboCounter(); protected abstract PercentageCounter CreateAccuracyCounter(); @@ -66,8 +68,10 @@ namespace osu.Game.Modes.UI showHud.ValueChanged += hudVisibilityChanged; showHud.TriggerChange(); - if (!showHud) + if (!showHud && !has_shown_notification_once) { + has_shown_notification_once = true; + notificationManager?.Post(new SimpleNotification { Text = @"The score overlay is currently disabled. You can toogle this by pressing Shift + Tab." From c1b48c6cbf65ff20b2abe08f6cb9fb276cb11e9f Mon Sep 17 00:00:00 2001 From: Andrey Zavadskiy Date: Mon, 3 Apr 2017 12:17:53 +0300 Subject: [PATCH 07/11] FadeIn/Out --- osu.Game/Modes/UI/HudOverlay.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/osu.Game/Modes/UI/HudOverlay.cs b/osu.Game/Modes/UI/HudOverlay.cs index a259f2d09f..a070afb889 100644 --- a/osu.Game/Modes/UI/HudOverlay.cs +++ b/osu.Game/Modes/UI/HudOverlay.cs @@ -19,6 +19,9 @@ namespace osu.Game.Modes.UI { public abstract class HudOverlay : Container { + private const int duration = 100; + + private readonly Container hud; public readonly KeyCounterCollection KeyCounter; public readonly ComboCounter ComboCounter; public readonly ScoreCounter ScoreCounter; @@ -28,8 +31,6 @@ namespace osu.Game.Modes.UI private Bindable showKeyCounter; private Bindable showHud; - private readonly Container hud; - private static bool has_shown_notification_once = false; protected abstract KeyCounterCollection CreateKeyCounter(); @@ -90,9 +91,9 @@ namespace osu.Game.Modes.UI private void hudVisibilityChanged(object sender, EventArgs e) { if (showHud) - hud.Show(); + hud.FadeIn(duration); else - hud.Hide(); + hud.FadeOut(duration); } public void BindProcessor(ScoreProcessor processor) From 5baa887f55466556c7270e8fbe2dadf8c55886fb Mon Sep 17 00:00:00 2001 From: Andrey Zavadskiy Date: Mon, 3 Apr 2017 14:58:38 +0300 Subject: [PATCH 08/11] Fixes --- osu.Game/Modes/UI/HudOverlay.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/osu.Game/Modes/UI/HudOverlay.cs b/osu.Game/Modes/UI/HudOverlay.cs index a070afb889..f493ae942d 100644 --- a/osu.Game/Modes/UI/HudOverlay.cs +++ b/osu.Game/Modes/UI/HudOverlay.cs @@ -31,7 +31,7 @@ namespace osu.Game.Modes.UI private Bindable showKeyCounter; private Bindable 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 { From bec4bf36ac6eaf6f8196d05fedb8fa293e23d98e Mon Sep 17 00:00:00 2001 From: Andrey Zavadskiy Date: Tue, 4 Apr 2017 17:47:41 +0300 Subject: [PATCH 09/11] hud->content and style fixes --- osu.Game/Modes/UI/HudOverlay.cs | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/osu.Game/Modes/UI/HudOverlay.cs b/osu.Game/Modes/UI/HudOverlay.cs index 586d28e7f6..263699422c 100644 --- a/osu.Game/Modes/UI/HudOverlay.cs +++ b/osu.Game/Modes/UI/HudOverlay.cs @@ -20,7 +20,7 @@ namespace osu.Game.Modes.UI { private const int duration = 100; - private readonly Container hud; + private readonly Container content; public readonly KeyCounterCollection KeyCounter; public readonly ComboCounter ComboCounter; public readonly ScoreCounter ScoreCounter; @@ -42,7 +42,7 @@ namespace osu.Game.Modes.UI { RelativeSizeAxes = Axes.Both; - Add(hud = new Container + Add(content = new Container { RelativeSizeAxes = Axes.Both, @@ -61,17 +61,23 @@ namespace osu.Game.Modes.UI private void load(OsuConfigManager config, NotificationManager notificationManager) { showKeyCounter = config.GetBindable(OsuConfig.KeyOverlay); - showKeyCounter.ValueChanged += visibility => + showKeyCounter.ValueChanged += keyCounterVisibility => { - if (visibility) - KeyCounter.Show(); + if (keyCounterVisibility) + KeyCounter.FadeIn(duration); else - KeyCounter.Hide(); + KeyCounter.FadeOut(duration); }; showKeyCounter.TriggerChange(); showHud = config.GetBindable(OsuConfig.ShowInterface); - showHud.ValueChanged += hudVisibilityChanged; + showHud.ValueChanged += hudVisibility => + { + if (hudVisibility) + content.FadeIn(duration); + else + content.FadeOut(duration); + }; showHud.TriggerChange(); if (!showHud && !hasShownNotificationOnce) @@ -85,14 +91,6 @@ namespace osu.Game.Modes.UI } } - private void hudVisibilityChanged(object sender, EventArgs e) - { - if (showHud) - hud.FadeIn(duration); - else - hud.FadeOut(duration); - } - public void BindProcessor(ScoreProcessor processor) { ScoreCounter?.Current.BindTo(processor.TotalScore); From c4c8604afdf907e31fc2b40d051333b5c54da3ef Mon Sep 17 00:00:00 2001 From: Andrey Zavadskiy Date: Tue, 4 Apr 2017 19:06:53 +0300 Subject: [PATCH 10/11] A little change to woke up AppVeyor --- osu.Game/Configuration/OsuConfigManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Configuration/OsuConfigManager.cs b/osu.Game/Configuration/OsuConfigManager.cs index 7a30d64cb2..9a2cda2d80 100644 --- a/osu.Game/Configuration/OsuConfigManager.cs +++ b/osu.Game/Configuration/OsuConfigManager.cs @@ -35,8 +35,8 @@ namespace osu.Game.Configuration Set(OsuConfig.MenuParallax, true); - Set(OsuConfig.KeyOverlay, false); Set(OsuConfig.ShowInterface, true); + Set(OsuConfig.KeyOverlay, false); //todo: implement all settings below this line (remove the Disabled set when doing so). Set(OsuConfig.MouseSpeed, 1.0).Disabled = true; From 2bb99eac72b1eccd96043042a158ab7d796c21de Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 6 Apr 2017 14:27:23 +0900 Subject: [PATCH 11/11] fix typo --- osu.Game/Modes/UI/HudOverlay.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Modes/UI/HudOverlay.cs b/osu.Game/Modes/UI/HudOverlay.cs index 263699422c..355b62bc57 100644 --- a/osu.Game/Modes/UI/HudOverlay.cs +++ b/osu.Game/Modes/UI/HudOverlay.cs @@ -86,7 +86,7 @@ namespace osu.Game.Modes.UI notificationManager?.Post(new SimpleNotification { - Text = @"The score overlay is currently disabled. You can toogle this by pressing Shift + Tab." + Text = @"The score overlay is currently disabled. You can toggle this by pressing Shift+Tab." }); } }