restore opacity on queue embeded content play
This commit is contained in:
parent
899b2a36cd
commit
8385ec7b0a
1 changed files with 8 additions and 0 deletions
|
|
@ -643,6 +643,14 @@ watch(video_item, v => {
|
||||||
document.querySelector('body').setAttribute("style", `opacity: ${v ? 1 : bg_opacity.value}`)
|
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 = () => {
|
const downloadSelected = () => {
|
||||||
if (selectedElms.value.length < 1) {
|
if (selectedElms.value.length < 1) {
|
||||||
toast.error('No items selected.')
|
toast.error('No items selected.')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue