taut: better scrolling behav(2)

This commit is contained in:
minjaesong
2026-04-23 21:18:30 +09:00
parent 4bda55d511
commit 5e3ffea6d3

View File

@@ -893,7 +893,7 @@ while (!exitFlag) {
if (keysym === "<F8>" || keysym === " ") { stopPlayback(); drawAll() }
else if (keysym === "<LEFT>" || keysym === "<RIGHT>") {
const oldVoiceOff = voiceOff
cursorVox += (keysym === "<LEFT>") ? -1 : 1
cursorVox += (keysym === "<LEFT>") ? -moveDelta : moveDelta
clampVoice()
const dVoice = voiceOff - oldVoiceOff
if (dVoice !== 0) {