Browse Source

Temp fix missing cursor after upgrade to electron 3.x +

pull/2195/head
Ramiro Saenz 6 years ago
parent
commit
86cfd302d1
  1. 6
      app/ux/WebView.js

6
app/ux/WebView.js

@ -517,7 +517,11 @@ Ext.define('Rambox.ux.WebView',{
function showWindowAndActivateTab(event) {
require('electron').remote.getCurrentWindow().show();
Ext.cq1('app-main').setActiveTab(me);
var tabPanel = Ext.cq1('app-main');
// Temp fix missing cursor after upgrade to electron 3.x +
tabPanel.getActiveTab().getWebView().blur();
tabPanel.setActiveTab(me);
tabPanel.getActiveTab().getWebView().focus();
}
});

Loading…
Cancel
Save