summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authornanahi <130121847+na-na-hi@users.noreply.github.com>2024-02-26 22:41:48 -0500
committersfan5 <sfan5@live.de>2024-02-27 08:36:56 +0100
commit3dcc661de7e884e147965615749965df5f80a443 (patch)
tree8cb021c49fc5a6397a58348ad8c7b9a9607b919f /player
parentf4af7b683e4ce0cb67d5b03d24b6be4f50e72ca4 (diff)
downloadmpv-3dcc661de7e884e147965615749965df5f80a443.tar.bz2
mpv-3dcc661de7e884e147965615749965df5f80a443.tar.xz
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.
Diffstat (limited to 'player')
-rw-r--r--player/lua/console.lua2
1 files changed, 1 insertions, 1 deletions
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&' ..