Skip to content

Commit

Permalink
Remove size, style and family from the return value of parseFontOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
nagix committed Mar 5, 2019
1 parent 3c6dafe commit f35210d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/core/core.scale.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@ function parseFontOptions(options, nestedOpts) {
var family = resolve([nestedOpts.fontFamily, options.fontFamily, globalDefaults.defaultFontFamily]);

return {
size: size,
style: style,
family: family,
string: helpers.fontString(size, style, family),
lineHeight: helpers.options.toLineHeight(resolve([nestedOpts.lineHeight, options.lineHeight, globalDefaults.defaultLineHeight]), size),
color: resolve([nestedOpts.fontColor, options.fontColor, globalDefaults.defaultFontColor])
Expand Down

0 comments on commit f35210d

Please sign in to comment.