Skip to content

Commit 908ea63

Browse files
committed
add missing context in call to applyIndirectStyles
1 parent 6467073 commit 908ea63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/marks/rule.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class RuleX extends Mark {
3535
const {width, height, marginTop, marginRight, marginLeft, marginBottom} = dimensions;
3636
const {insetTop, insetBottom} = this;
3737
return create("svg:g", context)
38-
.call(applyIndirectStyles, this, dimensions)
38+
.call(applyIndirectStyles, this, dimensions, context)
3939
.call(applyTransform, this, {x: X && x}, offset, 0)
4040
.call((g) =>
4141
g

0 commit comments

Comments
 (0)