mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-22 10:57:08 +00:00
{console/context_menu}.lua: don't apply --osd-blur to menu backgrounds
This commit is contained in:
committed by
Kacper Michajłow
parent
0a84c0a204
commit
e2bd1c6a88
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user