Skip to content

Commit a657211

Browse files
committed
fix: rename function
1 parent 081c9b1 commit a657211

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/composables/useChartWatermark.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export function drawNpmxLogoAndTaglineWatermark({
100100
const watermarkX = svg.width / 2 - npmxLogoWidth / 2
101101

102102
return `
103-
${injectWatermarkLogo({ x: watermarkX, y: watermarkY, width: npmxLogoWidth, height: npmxLogoHeight, fill: colors.fg })}
103+
${generateWatermarkLogo({ x: watermarkX, y: watermarkY, width: npmxLogoWidth, height: npmxLogoHeight, fill: colors.fg })}
104104
<text
105105
fill="${colors.fgSubtle}"
106106
x="${svg.width / 2}"
@@ -137,7 +137,7 @@ export function drawSmallNpmxLogoAndTaglineWatermark({
137137
const taglineY = svg.height - 3
138138

139139
return `
140-
${injectWatermarkLogo({ x: offsetX, y: watermarkY, width: logoWidth, height: npmxLogoHeight, fill: colors.fg })}
140+
${generateWatermarkLogo({ x: offsetX, y: watermarkY, width: logoWidth, height: npmxLogoHeight, fill: colors.fg })}
141141
<text
142142
fill="${colors.fgSubtle}"
143143
x="${logoWidth + offsetX * 2}"

0 commit comments

Comments
 (0)