{console/context_menu}.lua: don't apply --osd-blur to menu backgrounds

This commit is contained in:
Guido Cella
2025-10-29 13:15:09 +01:00
committed by Kacper Michajłow
parent 0a84c0a204
commit e2bd1c6a88
2 changed files with 3 additions and 2 deletions

View File

@@ -789,7 +789,7 @@ local function render()
ass:pos(x, y)
ass:append("{\\1c&H" .. back_color .. "&\\1a&H" .. back_alpha ..
"&\\bord" .. opts.menu_outline_size .. "\\3c&H" ..
color_option_to_ass(opts.menu_outline_color) .. "&}")
color_option_to_ass(opts.menu_outline_color) .. "\\blur0&}")
if border_style == "background-box" then
ass:append("{\\4a&Hff&}")
end

View File

@@ -387,7 +387,8 @@ local function render()
local background_style = "{\\1c&H" .. back_color .. "&" ..
"&\\bord" .. options.menu_outline_size .. "\\3c&H" ..
color_option_to_ass(options.menu_outline_color) .. "&}"
color_option_to_ass(options.menu_outline_color) ..
"\\blur0&}"
if border_style == "background-box" then
background_style = background_style .. "{\\4a&Hff&}"
end