mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 15:17:27 +08:00
Remove sound from notification closing/hiding
This commit is contained in:
parent
fdb572fdea
commit
4ff4c3a12e
@ -229,14 +229,7 @@ namespace osu.Game.Overlays
|
||||
mainContent.FadeEdgeEffectTo(0, WaveContainer.DISAPPEAR_DURATION, Easing.In);
|
||||
}
|
||||
|
||||
private void notificationClosed() => Schedule(() =>
|
||||
{
|
||||
updateCounts();
|
||||
|
||||
// this debounce is currently shared between popin/popout sounds, which means one could potentially not play when the user is expecting it.
|
||||
// popout is constant across all notification types, and should therefore be handled using playback concurrency instead, but seems broken at the moment.
|
||||
playDebouncedSample("UI/overlay-pop-out");
|
||||
});
|
||||
private void notificationClosed() => Schedule(updateCounts);
|
||||
|
||||
private void playDebouncedSample(string sampleName)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user