Fix issue with moving cursor location when pressing arrow keys

This commit is contained in:
Abijeet
2023-01-12 20:48:16 +05:30
committed by Niklas Laxström
parent f6b1e5cc6e
commit 606697ae7c

View File

@@ -123,10 +123,12 @@
break; break;
case 38: // arrow up case 38: // arrow up
this.options.lcd.navigateUp(); this.options.lcd.navigateUp();
e.preventDefault();
break; break;
case 40: // arrow down case 40: // arrow down
this.options.lcd.navigateDown(); this.options.lcd.navigateDown();
e.preventDefault();
break; break;
} }