Y_Tools_Screenshot.yhtm: fix screenshot without grab

- thanks zerocoolboy for the fix
This commit is contained in:
GetAway
2023-05-18 15:43:49 +02:00
parent b06321104d
commit ea99b283a4

View File

@@ -14,7 +14,11 @@ var interval;
function checkEnable() {
enableOSD = (document.getElementById('checkOSD').checked == true) ? 1 : 0;
enableVideo = (document.getElementById('checkVideo').checked == true) ? 1 : 0;
{=if-empty:{=var-get:grab=}~
enablePiP = 0;
~
enablePiP = (document.getElementById('checkPiP').checked == true) ? 1 : 0;
=}
if (enableOSD == 0 && enableVideo == 0) {
alert("{=L:bc.screenshot.checkenable=}");