From 8385ec7b0a4554101136bc2e29323c7abdcf53ae Mon Sep 17 00:00:00 2001 From: arabcoders Date: Tue, 1 Apr 2025 01:58:53 +0300 Subject: [PATCH] restore opacity on queue embeded content play --- ui/components/History.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ui/components/History.vue b/ui/components/History.vue index e14b655b..d852e64b 100644 --- a/ui/components/History.vue +++ b/ui/components/History.vue @@ -643,6 +643,14 @@ watch(video_item, v => { document.querySelector('body').setAttribute("style", `opacity: ${v ? 1 : bg_opacity.value}`) }) +watch(embed_url, v => { + if (!bg_enable.value) { + return + } + + document.querySelector('body').setAttribute("style", `opacity: ${v ? 1 : bg_opacity.value}`) +}) + const downloadSelected = () => { if (selectedElms.value.length < 1) { toast.error('No items selected.')