From 886ede200753fe8b2ed7bc4fd011a701286f9917 Mon Sep 17 00:00:00 2001 From: prafull-opensignlabs Date: Tue, 12 Nov 2024 15:17:34 +0530 Subject: [PATCH] refactor: change parameter from size to fontsize --- apps/OpenSignServer/Utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/OpenSignServer/Utils.js b/apps/OpenSignServer/Utils.js index c2c66ebb3..ad26a550e 100644 --- a/apps/OpenSignServer/Utils.js +++ b/apps/OpenSignServer/Utils.js @@ -134,7 +134,7 @@ export function formatWidgetOptions(type, options) { const values = options?.values || []; const color = options?.color ? options.color : 'black'; const fontColor = colorsArr.includes(color) ? color : 'black'; - const size = options?.size ? parseInt(options.size) : 12; + const size = options?.fontsize ? parseInt(options.fontsize) : 12; const fontSize = fontSizes.includes(size) ? size : 12; switch (type) { case 'signature':