Browse Source

Fix: Fast switching with Command+1/2/3/etc. does not work

fixes #2408 #2212
pull/2453/head
Vulich Fernando 6 years ago
parent
commit
7384c17c9f
  1. 2
      app/ux/WebView.js

2
app/ux/WebView.js

@ -528,7 +528,7 @@ Ext.define('Rambox.ux.WebView',{
function handleKeydown(event) {
var emulatedKeyboardEvent = new KeyboardEvent('keydown', {
code: event.code,
key: event.key,
key: event.code.substring(0, 5) === 'Digit' ? event.code.substring(5, 6) : event.key,
shiftKey: event.shiftKey,
altKey: event.altKey,
ctrlKey: event.ctrlKey,

Loading…
Cancel
Save