summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorGuido Cella <guido@guidocella.xyz>2025-02-24 11:06:08 +0100
committerKacper Michajłow <kasper93@gmail.com>2025-02-24 15:52:20 +0100
commit4efcfb9540440639b594abf5806ab4c93021c43f (patch)
treeb59e6e8b8c1d3b8f38623653f75c47ca4742f0b6 /player
parent12ef7077bedfd7cda468bfae500328ddd719429f (diff)
downloadmpv-4efcfb9540440639b594abf5806ab4c93021c43f.tar.bz2
mpv-4efcfb9540440639b594abf5806ab4c93021c43f.tar.xz
console.lua: preserve font styles in the counter
Fixes https://github.com/Samillion/ModernZ/issues/359
Diffstat (limited to 'player')
-rw-r--r--player/lua/console.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/lua/console.lua b/player/lua/console.lua
index de690c974b..63ea88bf59 100644
--- a/player/lua/console.lua
+++ b/player/lua/console.lua
@@ -747,6 +747,7 @@ local function render()
ass:new_event()
ass:an(alignment + 2)
ass:pos(x + max_item_width, y)
+ ass:append(style)
if not searching_history or border_style == 'background-box' then
ass:append('{\\bord0\\4a&Hff&\\blur0}')
end