Change the toggling MKB key from F9 to F8

This commit is contained in:
redphx 2024-04-12 18:06:35 +07:00
parent 47fbbdcb59
commit 1bdfa6c23f

View File

@ -5413,7 +5413,7 @@ class MkbHandler {
const isKeyDown = e.type === 'keydown'; const isKeyDown = e.type === 'keydown';
// Toggle MKB feature // Toggle MKB feature
if (isKeyDown && e.code === 'F9') { if (isKeyDown && e.code === 'F8') {
e.preventDefault(); e.preventDefault();
this.toggle(); this.toggle();
return; return;
@ -5633,7 +5633,7 @@ class MkbHandler {
}), }),
CE('div', {}, CE('div', {},
CE('p', {}, t('mkb-click-to-activate')), CE('p', {}, t('mkb-click-to-activate')),
CE('p', {}, t('press-key-to-toggle-mkb')({key: 'F9'})), CE('p', {}, t('press-key-to-toggle-mkb')({key: 'F8'})),
), ),
); );