This commit is contained in:
Kozak Vadym 2021-04-09 12:56:20 +03:00
parent 7222aba1b4
commit 6f8770db5b

View File

@ -8,6 +8,7 @@ export class TextContainer {
constructor(node: Text, styles: CSSParsedDeclaration) {
this.text = transform(node.data, styles.textTransform);
node.nodeValue = this.text;
this.textBounds = parseTextBounds(this.text, styles, node);
}
}