From 03f97e4caecc55de9d7ac0cde1ee9556a8ef4b6c Mon Sep 17 00:00:00 2001 From: ChrisK2 Date: Thu, 21 Aug 2014 18:45:41 +0200 Subject: osd+osc: Add left-arrow to osd-font For use as playlist navigation button in OSC, now the osd-font carries all symbols needed by the OSC. --- player/lua/osc.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'player') diff --git a/player/lua/osc.lua b/player/lua/osc.lua index 06974239c7..abbec6229f 100644 --- a/player/lua/osc.lua +++ b/player/lua/osc.lua @@ -1000,7 +1000,7 @@ function osc_init() -- prev ne = new_element("pl_prev", "button") - ne.content = "◀" + ne.content = "\238\132\144" ne.visible = have_pl ne.eventresponder["mouse_btn0_up"] = function () mp.commandv("playlist_prev", "weak") end @@ -1010,7 +1010,7 @@ function osc_init() --next ne = new_element("pl_next", "button") - ne.content = "▶" + ne.content = "\238\132\129" ne.visible = have_pl ne.eventresponder["mouse_btn0_up"] = function () mp.commandv("playlist_next", "weak") end @@ -1538,6 +1538,8 @@ function enable_osc(enable) end end +mp.use_suspend=false + mp.register_event("tick", tick) mp.register_event("start-file", request_init) mp.register_event("tracks-changed", request_init) -- cgit v1.2.3