From ff4c625ac79d9dae7eac017ca753ebd4d5c1370d Mon Sep 17 00:00:00 2001 From: HyeokjinKang Date: Thu, 6 Jun 2024 18:46:04 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=97=90=EB=94=94=ED=84=B0=EC=9D=98=20?= =?UTF-8?q?=EB=85=B8=ED=8A=B8=20=ED=9D=94=EC=A0=81=20=ED=91=9C=EC=8B=9C=20?= =?UTF-8?q?=ED=83=80=EC=9D=B4=EB=B0=8D=EC=9D=84=20=EC=A1=B0=EC=A0=95?= =?UTF-8?q?=ED=95=A9=EB=8B=88=EB=8B=A4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {