Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/fidget.nim
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ proc font*(
current.textStyle.fontFamily = fontFamily
current.textStyle.fontSize = fontSize
current.textStyle.fontWeight = fontWeight
current.textStyle.lineHeight = lineHeight
current.textStyle.lineHeight = if lineHeight != 0.0: lineHeight else: fontSize
current.textStyle.textAlignHorizontal = textAlignHorizontal
current.textStyle.textAlignVertical = textAlignVertical

Expand Down