Skip to content

Commit

Permalink
Merge pull request #1448 from OpenSignLabs/validation
Browse files Browse the repository at this point in the history
refactor: change parameter from size to fontsize
  • Loading branch information
andrew-opensignlabs authored Nov 12, 2024
2 parents a3936c6 + 886ede2 commit affbfc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/OpenSignServer/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit affbfc5

Please sign in to comment.