Correct height of piano roll display

This commit is contained in:
Wirlaburla 2024-02-27 21:25:07 -06:00
parent 876efb2e8f
commit 1144735efa

View File

@ -635,7 +635,7 @@ void displayNoteRoll(xmp_module_info *mi, xmp_frame_info *fi) {
}
for (int y = vOffset; y < ins; y++) {
if (!dynamicRoll) { prMin = 0; prMax = 144; }
if (y > (LINES - 5)+vOffset || y < 0) continue;
if (y > (LINES - 6)+vOffset || y < 0) continue;
wmove(dis, (y-vOffset)+1, 0);
wattron(dis, no_pair);
wprintw(dis, "%02X", y+1);