Skip to content

Commit

Permalink
fix default
Browse files Browse the repository at this point in the history
  • Loading branch information
Connoropolous committed May 6, 2021
1 parent 512f732 commit 583b54c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/drawing/dimensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function getGoalHeight(ctx, goalText, scale, isEditing) {
const lines = getLinesForParagraphs(ctx, goalText, scale)

// adjust font size based on scale (zoom factor)
let fontSizeToUse = fontSize // default
let fontSizeToUse = fontSizeInt // default
if (scale < secondZoomThreshold) {
fontSizeToUse = fontSizeExtraLargeInt
} else if (scale < firstZoomThreshold) {
Expand Down

0 comments on commit 583b54c

Please sign in to comment.