mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 17:12:36 +00:00
ontop-playback.lua: fix unused variable warning
This commit is contained in:
parent
50c4b2cd4c
commit
b927857d03
@ -3,7 +3,7 @@
|
||||
|
||||
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")
|
||||
if value then
|
||||
if ontop then
|
||||
|
Loading…
Reference in New Issue
Block a user