chore: fix lint

Signed-off-by: Craig Kochis <cjkochis@gmail.com>
This commit is contained in:
Craig Kochis 2023-10-04 23:18:19 -04:00
parent 30f46ab34e
commit d7432664ca

View file

@ -784,9 +784,18 @@ export const serve_rendered = {
const padding = 6;
ctx.fillStyle = 'rgba(255, 255, 255, 0.8)';
ctx.fillRect(width - textWidth - padding, height - textHeight - padding, textWidth + padding, textHeight + padding);
ctx.fillRect(
width - textWidth - padding,
height - textHeight - padding,
textWidth + padding,
textHeight + padding,
);
ctx.fillStyle = 'rgba(0,0,0,.8)';
ctx.fillText(item.attributionText, width - textWidth - (padding / 2), height - textHeight + 8);
ctx.fillText(
item.attributionText,
width - textWidth - padding / 2,
height - textHeight + 8,
);
composite_array.push({ input: canvas.toBuffer() });
}