From 3e167c604045520bb3d08db525cd4665f8ef182c Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Sat, 22 Feb 2025 08:13:47 +0100 Subject: [PATCH] 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 https://github.com/mpv-player/mpv/pull/15711#issuecomment-2676015561 --- player/lua/console.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player/lua/console.lua b/player/lua/console.lua index 5dfa605fc71cd..7a0590375a9f4 100644 --- a/player/lua/console.lua +++ b/player/lua/console.lua @@ -723,7 +723,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)