mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:52:55 +08:00
Allow notifications while the game is paused (or in break time)
RFC. This is to allow notifications to show at the pause screen (specifically for #23967, where exports are now happening). Not sure about the break time part of this, but might be fine? The toasts are immediately flushed before break time ends.
This commit is contained in:
parent
c467e6ba1f
commit
7b69b92eab
@ -118,7 +118,7 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
private void updateProcessingMode()
|
private void updateProcessingMode()
|
||||||
{
|
{
|
||||||
bool enabled = OverlayActivationMode.Value == OverlayActivation.All || State.Value == Visibility.Visible;
|
bool enabled = OverlayActivationMode.Value != OverlayActivation.Disabled || State.Value == Visibility.Visible;
|
||||||
|
|
||||||
notificationsEnabler?.Cancel();
|
notificationsEnabler?.Cancel();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user