Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
emmachase committed Jun 28, 2018
1 parent 129c4c4 commit 0f5114d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/styles/components/basic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function basicTextComponent:resolveHeight(styles, context, resolver)
end

if styles["line-height"] then
cy = cy * resolver({}, "number", styles["line-height"])
cY = cY * resolver({}, "number", styles["line-height"])
end

return (topPad + bottomPad + cY) .. "px"
Expand Down

0 comments on commit 0f5114d

Please sign in to comment.