mirror of https://github.com/mpv-player/mpv
parent
fadf87f2a7
commit
9a7f332571
|
@ -22,8 +22,8 @@ A script which leaves fullscreen mode when the player is paused:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
function on_pause(name, value)
|
function on_pause_change(name, value)
|
||||||
if pause == true then
|
if value == true then
|
||||||
mp.set_property("fullscreen", "no")
|
mp.set_property("fullscreen", "no")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue