Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Commit

Permalink
fix: browserview not showing when hiding overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
sentialx committed Apr 28, 2019
1 parent 7b2fb93 commit 41e083a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/renderer/app/store/overlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@ export class OverlayStore {
clearTimeout(this.timeout);

this.timeout = setTimeout(() => {
if (store.tabs.selectedTab) store.tabs.selectedTab.select();
if (store.tabs.selectedTab) {
if (store.tabs.selectedTab.isWindow) store.tabs.selectedTab.select();
else ipcRenderer.send('browserview-show');
}
}, 200);

store.suggestions.list = [];
Expand Down

0 comments on commit 41e083a

Please sign in to comment.