summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorGuido Cella <guido@guidocella.xyz>2025-02-24 16:05:01 +0100
committerKacper Michajłow <kasper93@gmail.com>2025-02-24 16:12:44 +0100
commit8e72ded1bb57e86d3dc676c5354d521b945e521e (patch)
tree4763919b99c9e8367b025f802f530395e7238469 /player
parentd8a79a1ca801a4b0de0c316764c52872639fc3d5 (diff)
downloadmpv-8e72ded1bb57e86d3dc676c5354d521b945e521e.tar.bz2
mpv-8e72ded1bb57e86d3dc676c5354d521b945e521e.tar.xz
console.lua: increase the opacity of the default item background
This needs to strike a fine balance between being visible and having contrast with the text color and not taking attention away from the selected item. Make it slightly more opaque to differentiate it more easily. Fixes #15711.
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 d552170575..64d88800e3 100644
--- a/player/lua/console.lua
+++ b/player/lua/console.lua
@@ -790,7 +790,7 @@ local function render()
ass:append('{\\blur0\\bord0\\4aH&ff&\\1c&H' ..
option_color_to_ass(opts.selected_back_color) .. '&}')
if first_match_to_print - 1 + i ~= selected_match then
- ass:append('{\\1aH&dd&}')
+ ass:append('{\\1aH&cc&}')
end
ass:draw_start()
ass:rect_cw(-opts.padding, 0, max_item_width + opts.padding, line_height)