Hide rocket animation in Smart TV profile

This commit is contained in:
redphx 2024-05-30 16:46:48 +07:00
parent e9671cbe5d
commit 6438e533d6

View File

@ -46,6 +46,10 @@ export class LoadingScreen {
#game-stream div[class*=RocketAnimation-module__container] > svg { #game-stream div[class*=RocketAnimation-module__container] > svg {
display: none; display: none;
} }
#game-stream video[class*=RocketAnimationVideo-module__video] {
display: none;
}
`; `;
$bgStyle.textContent += css; $bgStyle.textContent += css;
} }
@ -163,9 +167,9 @@ export class LoadingScreen {
} }
static reset() { static reset() {
LoadingScreen.#$waitTimeBox && LoadingScreen.#$waitTimeBox.classList.add('bx-gone'); LoadingScreen.#$bgStyle && setTimeout(() => LoadingScreen.#$bgStyle.textContent = '', 2000);
LoadingScreen.#$bgStyle && (LoadingScreen.#$bgStyle.textContent = '');
LoadingScreen.#$waitTimeBox && LoadingScreen.#$waitTimeBox.classList.add('bx-gone');
LoadingScreen.#waitTimeInterval && clearInterval(LoadingScreen.#waitTimeInterval); LoadingScreen.#waitTimeInterval && clearInterval(LoadingScreen.#waitTimeInterval);
LoadingScreen.#waitTimeInterval = null; LoadingScreen.#waitTimeInterval = null;
} }