Skip to content

Commit 4fbcc67

Browse files
committed
fix transform for [xy][12]
1 parent ba0a634 commit 4fbcc67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/marks/tip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class Tip extends Mark {
8484
const g = create("svg:g", context)
8585
.call(applyIndirectStyles, this, dimensions, context)
8686
.call(applyIndirectTextStyles, this)
87-
.call(applyTransform, this, {x: X && x, y: Y && y})
87+
.call(applyTransform, this, {x: (X || X2) && x, y: (Y || Y2) && y})
8888
.call((g) =>
8989
g
9090
.selectAll()

0 commit comments

Comments
 (0)