pause-when-minimize.lua: fix unused variable warning
This commit is contained in:
1 parent
b927857d03
commit
885cc30596
1 file changed
+1
-1
@@ -4,7 +4,7 @@
|
||||
|
||||
local did_minimize = false
|
||||
|
||||
mp.observe_property("window-minimized", "bool", function(name, value)
|
||||
mp.observe_property("window-minimized", "bool", function(_, value)
|
||||
local pause = mp.get_property_native("pause")
|
||||
if value == true then
|
||||
if pause == false then
|
||||
|
||||
Reference in new issue
Block a user