From a08c8616d1e72eb6704101d7347ba681a8c80849 Mon Sep 17 00:00:00 2001 From: zeyus Date: Thu, 7 Nov 2024 16:07:13 +0100 Subject: [PATCH] Readability. --- node/src/hit-counter.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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} `;