From 307d7e0ba6e607fdfdb20c637450d783a6b7ddb8 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Tue, 17 Dec 2024 09:58:18 +0900 Subject: [PATCH] fix --- packages/frontend/src/scripts/watermark.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/scripts/watermark.ts b/packages/frontend/src/scripts/watermark.ts index 1f8d5d1c07..4ef0f485e6 100644 --- a/packages/frontend/src/scripts/watermark.ts +++ b/packages/frontend/src/scripts/watermark.ts @@ -115,7 +115,7 @@ export async function applyWatermark(img: string | Blob, el: HTMLCanvasElement, height ); - const pattern = ctx.createPattern(resizedWatermark, config.repeat === true ? 'repeat' : `repeat-${config.repeat}`); + const pattern = ctx.createPattern(resizedWatermark, 'repeat'); if (pattern) { ctx.fillStyle = pattern; if (config.rotate != null && config.rotate !== 0) {