setup on page reload

This commit is contained in:
Araxeus
2021-05-12 18:58:29 +03:00
parent 7bc35f4cee
commit 8a07fccf8f
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ module.exports = (options) => {
setupGlobalShortcuts(options);
}
ipcRenderer.once("did-finish-load", () => {
ipcRenderer.on("did-finish-load", () => {
injectVolumeHud();
// if hideVideo is disabled
if ($("#main-panel")?.computedStyleMap().get("display").value !== "none") {