1
0
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:
Kacper Michajłow 2024-05-12 02:14:00 +02:00
parent 50c4b2cd4c
commit b927857d03

View File

@ -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