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 f056b0d4b6
commit 13a2417f37

View file

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