summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--player/lua/osc.lua7
-rw-r--r--sub/osd_font.otfbin3032 -> 4812 bytes
2 files changed, 4 insertions, 3 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua
index ea77c1dfe0..c0fcf1e953 100644
--- a/player/lua/osc.lua
+++ b/player/lua/osc.lua
@@ -1837,11 +1837,12 @@ function osc_init()
ne.content = function()
local volume = mp.get_property_number("volume", 0)
local mute = mp.get_property_native("mute")
- local volicon = {"🔈", "🔉", "🔊"}
+ local volicon = {"\238\132\139", "\238\132\140",
+ "\238\132\141", "\238\132\142"}
if volume == 0 or mute then
- return "🔇"
+ return "\238\132\138"
else
- return volicon[math.min(3,math.ceil(volume / (100/3)))]
+ return volicon[math.min(4,math.ceil(volume / (100/3)))]
end
end
ne.eventresponder["mouse_btn0_up"] =
diff --git a/sub/osd_font.otf b/sub/osd_font.otf
index 26c8299673..7865220221 100644
--- a/sub/osd_font.otf
+++ b/sub/osd_font.otf
Binary files differ