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
c4b6d0da38
commit
b80e4e46a3
|
@ -1878,7 +1878,11 @@ function osc_init()
|
|||
|
||||
ne.content = function ()
|
||||
if mp.get_property("pause") == "yes" then
|
||||
return ("\238\132\129")
|
||||
if mp.get_property("play-direction", "forward") ~= "backward" then
|
||||
return ("\238\132\129")
|
||||
else
|
||||
return ("\238\132\144")
|
||||
end
|
||||
else
|
||||
return ("\238\128\130")
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue