Fix zoom keycodes

This commit is contained in:
Thomas Hooge 2025-01-08 14:52:44 +01:00
parent be48929c40
commit 8d43189140
1 changed files with 2 additions and 2 deletions

View File

@ -254,7 +254,7 @@ public:
} }
// Reduce instrument size // Reduce instrument size
if(key == 2 && mode == 'N'){ // Code for reduce if(key == 2 && mode == 'X'){ // Code for reduce
lp = lp - 10; lp = lp - 10;
if(lp < 10){ if(lp < 10){
lp = 10; lp = 10;
@ -264,7 +264,7 @@ public:
} }
// Enlarge instrument size // Enlarge instrument size
if(key == 5 && mode == 'N'){ // Code for enlarge if(key == 5 && mode == 'X'){ // Code for enlarge
lp = lp + 10; lp = lp + 10;
if(lp > 80){ if(lp > 80){
lp = 80; lp = 80;