Skip to content

Commit 82ba7ee

Browse files
committed
null transform, rather than empty string
1 parent c5fa44b commit 82ba7ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/drawing/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ drawing.bBox = function(node) {
638638

639639
// standardize its position (and newline tspans if any)
640640
d3.select(testNode)
641-
.attr('transform', '')
641+
.attr('transform', null)
642642
.call(svgTextUtils.positionText, 0, 0);
643643

644644
var testRect = testNode.getBoundingClientRect();

0 commit comments

Comments
 (0)