mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-16 22:40:53 +08:00
ontop-playback.lua: fix unused variable warning
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user