restore opacity on queue embeded content play

This commit is contained in:
arabcoders 2025-04-01 01:58:53 +03:00
parent 899b2a36cd
commit 8385ec7b0a

View file

@ -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.')