mirror of
https://github.com/ppy/osu
synced 2025-02-21 21:17:13 +00:00
Play notification appear sample immediately
This commit is contained in:
parent
95ce78a50c
commit
a7110666a0
@ -160,6 +160,8 @@ namespace osu.Game.Overlays
|
||||
|
||||
int depth = notification.DisplayOnTop ? -runningDepth : runningDepth;
|
||||
|
||||
playDebouncedSample(notification.PopInSampleName);
|
||||
|
||||
if (State.Value == Visibility.Hidden)
|
||||
toastTray.Post(notification, addPermanently);
|
||||
else
|
||||
@ -172,7 +174,6 @@ namespace osu.Game.Overlays
|
||||
section.Add(notification, depth);
|
||||
|
||||
updateCounts();
|
||||
playDebouncedSample(notification.PopInSampleName);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user