From 1144735efae6becbe800749b2712bfccb3200067 Mon Sep 17 00:00:00 2001 From: Wirlaburla Date: Tue, 27 Feb 2024 21:25:07 -0600 Subject: [PATCH] Correct height of piano roll display --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 7229db4..fc5668f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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);