BUGFIX: Prevents Scrolling between cues mid-game

You can't scroll between the game event selector when the song is playing (Using the keyboard or scrollwheel). It's smoother especially when doing arrow inputs
This commit is contained in:
Pengu123 2022-05-04 19:26:19 +02:00
parent defd64a56e
commit f5bcd70756

View file

@ -38,6 +38,8 @@ namespace HeavenStudio.Editor
}
private void Update()
{
if(!Conductor.instance.NotStopped())
{
if (gameOpen)
{
@ -56,6 +58,7 @@ namespace HeavenStudio.Editor
UpdateIndex(currentEventIndex - Mathf.RoundToInt(Input.mouseScrollDelta.y));
}
}
}
#region Functions