mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09: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()
|
private void playSwapSample()
|
||||||
{
|
{
|
||||||
|
if (!DragActive.Value)
|
||||||
|
return;
|
||||||
|
|
||||||
if (Time.Current - sampleLastPlaybackTime <= 35)
|
if (Time.Current - sampleLastPlaybackTime <= 35)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user