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