mirror of https://github.com/mpv-player/mpv
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:
parent
ecc6cddef0
commit
f02b8bc9fd
|
@ -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 = {}
|
||||
|
|
Loading…
Reference in New Issue