Browse Source

Fix: Cursor missing

fixes #2240
pull/2453/head
Vulich Fernando 6 years ago
parent
commit
1723b2472f
  1. 6
      app/ux/WebView.js

6
app/ux/WebView.js

@ -299,6 +299,12 @@ Ext.define('Rambox.ux.WebView',{
// Apply saved zoom level
webview.setZoomLevel(me.record.get('zoomLevel'));
// Fix cursor sometimes dissapear
let currentTab = Ext.cq1('app-main').getActiveTab();
if ( currentTab.id === me.id ) {
webview.blur();
webview.focus();
}
// Set special icon for some service (like Slack)
Rambox.util.IconLoader.loadServiceIconUrl(me, webview);
});

Loading…
Cancel
Save