fix: render_volume()
doesn't need to check for has_audio
This commit is contained in:
@@ -1860,7 +1860,7 @@ function render_volume(this)
|
|||||||
local slider = elements.volume_slider
|
local slider = elements.volume_slider
|
||||||
local opacity = this:get_effective_proximity()
|
local opacity = this:get_effective_proximity()
|
||||||
|
|
||||||
if this.width == 0 or opacity == 0 or not state.has_audio then return end
|
if this.width == 0 or opacity == 0 then return end
|
||||||
|
|
||||||
local ass = assdraw.ass_new()
|
local ass = assdraw.ass_new()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user