fix: use ass_safe_title (#328)

It was created but not used
This commit is contained in:
christoph-heinrich
2022-10-15 10:40:27 +02:00
committed by GitHub
parent 9516325ba8
commit df3c2ec14c

View File

@@ -2245,7 +2245,7 @@ function Menu:render()
})
-- Title
ass:txt(ax + menu.width / 2, title_ay + (title_height / 2), 5, menu.title, {
ass:txt(ax + menu.width / 2, title_ay + (title_height / 2), 5, menu.ass_safe_title, {
size = self.font_size, bold = true, color = bg, wrap = 2, opacity = opacity,
clip = '\\clip(' .. ax .. ',' .. title_ay .. ',' .. bx .. ',' .. ay .. ')',
})