From e298cbb636daf380a7a8ea847252c9d88a224e45 Mon Sep 17 00:00:00 2001 From: Eva Date: Wed, 26 Jul 2023 18:04:57 +0200 Subject: [PATCH] Use explicit alignment for thumbnail background Some clients do not default ASS alignment to 7, which is what we expect. --- modernx.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/modernx.lua b/modernx.lua index 989512a..f7c8715 100644 --- a/modernx.lua +++ b/modernx.lua @@ -823,6 +823,7 @@ function render_elements(master_ass) elem_ass:new_event() elem_ass:pos(thumbX * r_w, ty - thumbMarginY - thumbfast.height * r_h) + elem_ass:an(7) elem_ass:append(osc_styles.Tooltip) elem_ass:draw_start() elem_ass:rect_cw(-thumbPad * r_w, -thumbPad * r_h, (thumbfast.width + thumbPad) * r_w, (thumbfast.height + thumbPad) * r_h)