Skip to content

Commit 43f750f

Browse files
committed
fix(win): font size
1 parent 4bc5212 commit 43f750f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,12 +531,12 @@ const drawIcon = (glucose?: Glucose) =>
531531
canvas.toDataURL();
532532
`;
533533

534-
const font = (glucose?: Glucose): "32px" | "28px" => {
534+
const font = (glucose?: Glucose): "32px" | "20px" => {
535535
if (!glucose) return "32px";
536536
const chars = String(glucose.value)
537537
.split("")
538538
.filter((x) => x !== ".");
539-
if (chars.length === 3) return "28px";
539+
if (chars.length === 3) return "20px";
540540
if (chars.length === 2) return "32px";
541541
return "32px";
542542
};

0 commit comments

Comments
 (0)