Fixed Crashing Issue in chart editor
This commit is contained in:
@@ -704,7 +704,8 @@ class Charter extends UIState {
|
||||
if (true) {
|
||||
__crochet = ((60 / Conductor.bpm) * 1000);
|
||||
|
||||
UIUtil.processShortcuts(topMenu);
|
||||
if(FlxG.keys.justPressed.ANY)
|
||||
UIUtil.processShortcuts(topMenu);
|
||||
|
||||
if (FlxG.keys.pressed.CONTROL) {
|
||||
if (FlxG.mouse.wheel != 0) {
|
||||
|
||||
@@ -28,7 +28,7 @@ class CharterNoteGroup extends FlxTypedGroup<CharterNote> {
|
||||
if (!cast(FlxG.state, Charter).selection.contains(__loopSprite))
|
||||
noteFunc(__loopSprite);
|
||||
}
|
||||
for(c in cast(FlxG.state, Charter).selection)
|
||||
for(c in cast(FlxG.state, Charter).selection.copy())
|
||||
noteFunc(c);
|
||||
|
||||
__currentlyLooping = oldCur;
|
||||
|
||||
Reference in New Issue
Block a user