fix: remove redundant menu title translation
This commit is contained in:
@@ -799,7 +799,7 @@ function Menu:render()
|
|||||||
if draw_title then
|
if draw_title then
|
||||||
local title_ay = ay - self.item_height
|
local title_ay = ay - self.item_height
|
||||||
local title_height = self.item_height - 3
|
local title_height = self.item_height - 3
|
||||||
menu.ass_safe_title = menu.ass_safe_title or ass_escape(t(menu.title))
|
menu.ass_safe_title = menu.ass_safe_title or ass_escape(menu.title)
|
||||||
|
|
||||||
-- Background
|
-- Background
|
||||||
ass:rect(ax + 2, title_ay, bx - 2, title_ay + title_height, {
|
ass:rect(ax + 2, title_ay, bx - 2, title_ay + title_height, {
|
||||||
|
Reference in New Issue
Block a user