mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 19:55:09 +00:00
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:
parent
f056b0d4b6
commit
13a2417f37
1 changed files with 14 additions and 11 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue