diff --git a/public/js/editor.js b/public/js/editor.js index 1090890..0b7d5ef 100644 --- a/public/js/editor.js +++ b/public/js/editor.js @@ -1287,7 +1287,7 @@ const cntRender = () => { const p = (1 - (renderNotes[i].beat - beats) / (5 / speed)) * 100; const t = ((beats - renderNotes[i].beat) / renderNotes[i].duration) * 100; const f = (1 - (renderNotes[i].beat + renderNotes[i].duration - beats) / (5 / speed)) * 100; - if (renderNotes[i].value != 2 && p < 100) validNote = i; + if (renderNotes[i].value != 2 && p < 101) validNote = i; else if (renderNotes[i].value == 2 && f < 100) validNote = i; if (i == validNote) drawNote(p, renderNotes[i].x, renderNotes[i].y, selectedCheck(0, i), renderNotes[i].value, renderNotes[i].direction, t, f); else if (i + 3 >= validNote) {