We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cc9c1c commit 5dc545dCopy full SHA for 5dc545d
1 file changed
src/interactions/brush.js
@@ -121,7 +121,10 @@ export class Brush extends Mark {
121
const d = n.__data__;
122
return (fx === undefined || d?.x === fx) && (fy === undefined || d?.y === fy);
123
});
124
- if (!node) throw new Error(fx === undefined && fy === undefined ? "No brush node found" : "No brush node found for the specified facet");
+ if (!node)
125
+ throw new Error(
126
+ fx === undefined && fy === undefined ? "No brush node found" : "No brush node found for the specified facet"
127
+ );
128
const px1 = this._applyX(x1);
129
const px2 = this._applyX(x2);
130
const py1 = this._applyY(y1);
0 commit comments