player shortcuts: ignore numpad

This commit is contained in:
Samantaz Fox committed 2022-02-08 01:26:51 +01:00
1 parent f73aef33f0
commit 3c882cff6e
1 file changed
+3
+3
View File
@@ -612,6 +612,9 @@ window.addEventListener('keydown', e => {
case '7':
case '8':
case '9':
// Ignore numpad numbers
if (code > 57) break;
const percent = (code - 48) * 10;
action = set_time_percent.bind(this, percent);
break;