Option to use screensaver instead of turning off screen in fully

This commit is contained in:
2021-07-11 16:18:22 +00:00
parent 180fad3ea0
commit 63812d821a
11 changed files with 610 additions and 729 deletions

View File

@@ -25,6 +25,15 @@ export const FullyKioskMixin = (C) =>
window.fully.bind(ev, `window.browser_mod.fully_update("${ev}");`);
}
window.fully.bind(
"onScreensaverStart",
`window.browser_mod.fully_screensaver = true; window.browser_mod.screen_update();`
);
window.fully.bind(
"onScreensaverStop",
`window.browser_mod.fully_screensaver = false; window.browser_mod.screen_update();`
);
this._keepingAlive = false;
}