Skip to content

Commit

Permalink
Fix parser transform lost
Browse files Browse the repository at this point in the history
  • Loading branch information
amarunko committed Jul 18, 2018
1 parent 53a9f10 commit 246d88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/svg/SVGParser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ open class SVGParser {
return .none
}
if text.children.isEmpty {
return parseSimpleText(element, textAnchor: textAnchor, fill: fill, stroke: stroke, opacity: opacity, fontName: fontName, fontSize: fontSize, fontWeight: fontWeight)
return parseSimpleText(element, textAnchor: textAnchor, fill: fill, stroke: stroke, opacity: opacity, fontName: fontName, fontSize: fontSize, fontWeight: fontWeight, pos: pos)
} else {
guard let matcher = SVGParserRegexHelper.getTextElementMatcher() else {
return .none
Expand Down

0 comments on commit 246d88d

Please sign in to comment.