1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-27 10:50:53 +00:00

pause-when-minimize.lua: fix unused variable warning

This commit is contained in:
Kacper Michajłow 2024-05-12 02:14:56 +02:00
parent b927857d03
commit 885cc30596

View File

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