mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 03:33:22 +08:00
Don't play sample if there is no item being actively dragged
This commit is contained in:
parent
9c46592e0e
commit
aaf619b35c
@ -46,6 +46,9 @@ namespace osu.Game.Graphics.Containers
|
||||
|
||||
private void playSwapSample()
|
||||
{
|
||||
if (!DragActive.Value)
|
||||
return;
|
||||
|
||||
if (Time.Current - sampleLastPlaybackTime <= 35)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user