From 3dcc661de7e884e147965615749965df5f80a443 Mon Sep 17 00:00:00 2001 From: nanahi <130121847+na-na-hi@users.noreply.github.com> Date: Mon, 26 Feb 2024 22:41:48 -0500 Subject: console.lua: fix blurry cursor when --osd-blur is set This is drawn with the same method as the stats.lua graphs so it's also blurry. Fix this by using the "Default" style for cursor drawing. --- player/lua/console.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player') diff --git a/player/lua/console.lua b/player/lua/console.lua index 65f73fc9b5..02cf890791 100644 --- a/player/lua/console.lua +++ b/player/lua/console.lua @@ -412,7 +412,7 @@ function update() -- thin as possible and make it appear to be 1px wide by giving it 0.5px -- horizontal borders. local cheight = opts.font_size * 8 - local cglyph = '{\\r' .. + local cglyph = '{\\rDefault' .. (mp.get_property_native('focused') == false and '\\alpha&HFF&' or '\\1a&H44&\\3a&H44&\\4a&H99&') .. '\\1c&Heeeeee&\\3c&Heeeeee&\\4c&H000000&' .. -- cgit v1.2.3