mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-12 23:54:04 +09:00
playtaud: lead event tail spreads left and right
This commit is contained in:
@@ -849,9 +849,12 @@ function drawEventLead(ev, stage, volFrac, livePan, liveNote) {
|
|||||||
: stage === STAGE_RELEASE ? 0xF9 /*·*/
|
: stage === STAGE_RELEASE ? 0xF9 /*·*/
|
||||||
: 0xC4 /*─*/
|
: 0xC4 /*─*/
|
||||||
for (let i = 1; i <= tailLen; i++) {
|
for (let i = 1; i <= tailLen; i++) {
|
||||||
const x = cx - i
|
const xl = cx - i
|
||||||
if (x >= COL_INSIDE_L && x <= COL_INSIDE_R)
|
if (xl >= COL_INSIDE_L && xl <= COL_INSIDE_R)
|
||||||
mvprn(y, x, trailChar)
|
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 /*■*/
|
const head = stage === STAGE_ATTACK ? 0xFE /*■*/
|
||||||
: stage === STAGE_RELEASE ? 0x09 /*°*/
|
: stage === STAGE_RELEASE ? 0x09 /*°*/
|
||||||
|
|||||||
Reference in New Issue
Block a user