Play notification appear sample immediately

This commit is contained in:
Dean Herbert 2022-08-30 21:13:27 +09:00
parent 95ce78a50c
commit a7110666a0

View File

@ -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);
}
});