you can see ending in chart editor and time signatures fix
This commit is contained in:
@@ -289,7 +289,7 @@ class Conductor
|
||||
if (change.stepTime < step && change.stepTime >= bpmChange.stepTime)
|
||||
bpmChange = change;
|
||||
|
||||
return bpmChange.songTime + ((step - bpmChange.stepTime) * ((60 / bpmChange.bpm) * 250));
|
||||
return bpmChange.songTime + ((step - bpmChange.stepTime) * ((60 / bpmChange.bpm) * (1000/stepsPerBeat)));
|
||||
}
|
||||
|
||||
public static function getStepForTime(time:Float) {
|
||||
@@ -303,7 +303,7 @@ class Conductor
|
||||
if (change.songTime < time && change.songTime >= bpmChange.songTime)
|
||||
bpmChange = change;
|
||||
|
||||
return bpmChange.stepTime + ((time - bpmChange.songTime) / ((60 / bpmChange.bpm) * 250));
|
||||
return bpmChange.stepTime + ((time - bpmChange.songTime) / ((60 / bpmChange.bpm) * (1000/stepsPerBeat)));
|
||||
}
|
||||
|
||||
public static inline function getMeasureLength()
|
||||
|
||||
Reference in New Issue
Block a user