player shortcuts: ignore numpad

このコミットが含まれているのは:
Samantaz Fox 2022-02-08 00:01:53 +01:00
コミット 3c882cff6e
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: F42821059186176E
1個のファイルの変更3行の追加0行の削除

ファイルの表示

@ -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;