consistency cause im stupid
This commit is contained in:
@@ -1434,7 +1434,7 @@ class Charter extends UIState {
|
||||
CNote(note.step - minStep, note.id, note.strumLineID, note.susLength, note.type);
|
||||
} else if (s is CharterEvent) {
|
||||
var event = cast(s,CharterEvent);
|
||||
CEvent(event.step - minStep, event.global, [for (event in event.events) Reflect.copy(event)]);
|
||||
CEvent(event.step - minStep, [for (event in event.events) Reflect.copy(event)], event.global);
|
||||
}
|
||||
];
|
||||
}
|
||||
@@ -1450,7 +1450,7 @@ class Charter extends UIState {
|
||||
note.updatePos(minStep + step, id, susLength, type, strumLines.members[CoolUtil.boundInt(strumLineID, 0, strumLines.length-1)]);
|
||||
notesGroup.add(note);
|
||||
sObjects.push(note);
|
||||
case CEvent(step, global, events):
|
||||
case CEvent(step, events, global):
|
||||
var event = new CharterEvent(minStep + step, events, global);
|
||||
event.refreshEventIcons();
|
||||
(global ? globalEventsGroup : localEventsGroup).add(event);
|
||||
@@ -2009,7 +2009,7 @@ enum CharterChange {
|
||||
|
||||
enum CharterCopyboardObject {
|
||||
CNote(step:Float, id:Int, strumLineID:Int, susLength:Float, type:Int);
|
||||
CEvent(step:Float, global:Bool, events:Array<ChartEvent>);
|
||||
CEvent(step:Float, events:Array<ChartEvent>, global:Bool);
|
||||
}
|
||||
|
||||
typedef NoteSustainChange = {
|
||||
|
||||
Reference in New Issue
Block a user