diff --git a/node/src/hit-counter.ts b/node/src/hit-counter.ts index fc1c70d..469da03 100644 --- a/node/src/hit-counter.ts +++ b/node/src/hit-counter.ts @@ -267,16 +267,16 @@ class ImageHitCounterRenderer extends BaseHitCounterRenderer { * The SVG overlay. */ private createSvgOverlay(width: number, height: number): Buffer { - const { textPositionX, textPositionY, fontFace, fontSize, customText, secondaryText, frameColorRGB, drawFrame } = this.config; + const { textPositionX, textPositionY, fontFace, fontSize, customText, secondaryText, textColorRGB, secondaryTextColorRGB, frameColorRGB, drawFrame, borderWidth } = this.config; const frame = drawFrame - ? `` + ? `` : ''; const svg = ` - ${customText} - ${secondaryText} + ${customText} + ${secondaryText} ${frame} `;