mirror of https://github.com/mpv-player/mpv
ontop-playback.lua: fix unused variable warning
This commit is contained in:
parent
50c4b2cd4c
commit
b927857d03
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
local was_ontop = false
|
local was_ontop = false
|
||||||
|
|
||||||
mp.observe_property("pause", "bool", function(name, value)
|
mp.observe_property("pause", "bool", function(_, value)
|
||||||
local ontop = mp.get_property_native("ontop")
|
local ontop = mp.get_property_native("ontop")
|
||||||
if value then
|
if value then
|
||||||
if ontop then
|
if ontop then
|
||||||
|
|
Loading…
Reference in New Issue