Skip to content

Commit eb4d2cd

Browse files
committed
Remove size, style and family from the return value of parseFontOptions
1 parent 67530e7 commit eb4d2cd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/core/core.scale.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@ function parseFontOptions(options, nestedOpts) {
107107
var family = resolve([nestedOpts.fontFamily, options.fontFamily, globalDefaults.defaultFontFamily]);
108108

109109
return {
110-
size: size,
111-
style: style,
112-
family: family,
113110
string: helpers.fontString(size, style, family),
114111
lineHeight: helpers.options.toLineHeight(resolve([nestedOpts.lineHeight, options.lineHeight, globalDefaults.defaultLineHeight]), size),
115112
color: resolve([nestedOpts.fontColor, options.fontColor, globalDefaults.defaultFontColor])

0 commit comments

Comments
 (0)