Skip to content

Commit 583b54c

Browse files
committed
fix default
1 parent 512f732 commit 583b54c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/drawing/dimensions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export function getGoalHeight(ctx, goalText, scale, isEditing) {
102102
const lines = getLinesForParagraphs(ctx, goalText, scale)
103103

104104
// adjust font size based on scale (zoom factor)
105-
let fontSizeToUse = fontSize // default
105+
let fontSizeToUse = fontSizeInt // default
106106
if (scale < secondZoomThreshold) {
107107
fontSizeToUse = fontSizeExtraLargeInt
108108
} else if (scale < firstZoomThreshold) {

0 commit comments

Comments
 (0)