mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
stats.lua: fix text size/alignment for key bindings page
After a subject line, the text style needs to be reset to make sure that key binding lines have correct size and alignment while scrolling the page.
This commit is contained in:
@@ -517,7 +517,7 @@ local function get_kbinfo_lines()
|
||||
local spre = term and kspaces .. " "
|
||||
or format("{\\q2\\fn%s}%s {\\fn%s}{\\fs%d\\u1}",
|
||||
o.font_mono, kspaces, o.font, 1.3*font_size)
|
||||
local spost = term and "" or format("{\\u0\\fs%d}", font_size)
|
||||
local spost = term and "" or format("{\\u0\\fs%d}%s", font_size, text_style())
|
||||
|
||||
-- create the display lines
|
||||
local info_lines = {}
|
||||
|
||||
Reference in New Issue
Block a user