diff --git a/dist/better-xcloud.user.js b/dist/better-xcloud.user.js index 5667033..9d44af2 100644 --- a/dist/better-xcloud.user.js +++ b/dist/better-xcloud.user.js @@ -9928,6 +9928,7 @@ class Patcher { let appliedPatches; const caches = {}; for (let id in item[1]) { + appliedPatches = []; const cachedPatches = PatcherCache.getPatches(id); if (cachedPatches) { patchesToCheck = cachedPatches; @@ -9938,7 +9939,6 @@ class Patcher { if (!patchesToCheck.length) { continue; } - appliedPatches = []; const func = item[1][id]; let str = func.toString(); for (let groupIndex = 0;groupIndex < patchesToCheck.length; groupIndex++) { @@ -10327,6 +10327,7 @@ window.addEventListener(BxEvent.STREAM_PLAYING, (e) => { updateVideoPlayerCss(); if (PREF_SCREENSHOT_BUTTON_POSITION !== "none") { const $btn = document.querySelector(".bx-screenshot-button"); + $btn.classList.remove("bx-gone"); $btn.style.display = "block"; if (PREF_SCREENSHOT_BUTTON_POSITION === "bottom-right") { $btn.style.right = "0"; @@ -10334,6 +10335,8 @@ window.addEventListener(BxEvent.STREAM_PLAYING, (e) => { $btn.style.left = "0"; } } + const $touchControllerBar = document.getElementById("bx-touch-controller-bar"); + $touchControllerBar && $touchControllerBar.classList.remove("bx-gone"); }); window.addEventListener(BxEvent.STREAM_ERROR_PAGE, (e) => { BxEvent.dispatch(window, BxEvent.STREAM_STOPPED);