From c6e087e74c3ee35f488680173b3e1e2b764004bb Mon Sep 17 00:00:00 2001 From: minjaesong Date: Thu, 4 Jun 2026 22:11:14 +0900 Subject: [PATCH] playtaud: lead event tail spreads left and right --- assets/disk0/tvdos/bin/playtaud.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/assets/disk0/tvdos/bin/playtaud.js b/assets/disk0/tvdos/bin/playtaud.js index 7348358..fd7aaad 100644 --- a/assets/disk0/tvdos/bin/playtaud.js +++ b/assets/disk0/tvdos/bin/playtaud.js @@ -849,9 +849,12 @@ function drawEventLead(ev, stage, volFrac, livePan, liveNote) { : stage === STAGE_RELEASE ? 0xF9 /*·*/ : 0xC4 /*─*/ for (let i = 1; i <= tailLen; i++) { - const x = cx - i - if (x >= COL_INSIDE_L && x <= COL_INSIDE_R) - mvprn(y, x, trailChar) + const xl = cx - i + if (xl >= COL_INSIDE_L && xl <= COL_INSIDE_R) + mvprn(y, xl, trailChar) + const xr = cx + i + if (xr >= COL_INSIDE_L && xr <= COL_INSIDE_R) + mvprn(y, xr, trailChar) } const head = stage === STAGE_ATTACK ? 0xFE /*■*/ : stage === STAGE_RELEASE ? 0x09 /*°*/