Merge remote-tracking branch 'origin/feature/ghost-hold-notes' into develop

This commit is contained in:
EliteMasterEric
2023-09-11 19:42:25 -04:00
2 changed files with 28 additions and 8 deletions
@@ -142,8 +142,9 @@ class ChartEditorHoldNoteSprite extends SustainTrail
{
// noteData.stepTime is a calculated value which accounts for BPM changes
var stepTime:Float = this.noteData.stepTime;
var roundedStepTime:Float = Math.floor(stepTime + 0.01); // Add epsilon to fix rounding issues
this.y = roundedStepTime * ChartEditorState.GRID_SIZE;
// Add epsilon to fix rounding issues?
// var roundedStepTime:Float = Math.floor((stepTime + 0.01) / noteSnapRatio) * noteSnapRatio;
this.y = stepTime * ChartEditorState.GRID_SIZE;
}
this.x += ChartEditorState.GRID_SIZE / 2;