Correct height of piano roll display
This commit is contained in:
parent
876efb2e8f
commit
1144735efa
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user