mirror of https://github.com/mpv-player/mpv
osc: show left arrow when paused while playing backwards
Use existing glyph for playlist buttons to show a triangle pointing left if playback is stopped with a backward playback direction.
This commit is contained in:
parent
82eda2e5f8
commit
9c31e4156d
|
@ -1796,7 +1796,11 @@ function osc_init()
|
|||
|
||||
ne.content = function ()
|
||||
if mp.get_property("pause") == "yes" then
|
||||
return ("\238\132\129")
|
||||
if mp.get_property("play-dir", "forward") ~= "backward" then
|
||||
return ("\238\132\129")
|
||||
else
|
||||
return ("\238\132\144")
|
||||
end
|
||||
else
|
||||
return ("\238\128\130")
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue