layerchart 2.0.0-next.22 → 2.0.0-next.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
_range.width < RESET_THRESHOLD ||
|
|
320
320
|
_range.height < RESET_THRESHOLD
|
|
321
321
|
) {
|
|
322
|
-
// Clicked on frame, or pointer delta was
|
|
322
|
+
// Clicked on frame, or pointer delta was less than threshold (default: 1px)
|
|
323
323
|
if (ignoreResetClick) {
|
|
324
324
|
logger.debug('ignoring frame click reset');
|
|
325
325
|
} else {
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
y2: max(ctx.yRange) as unknown as number,
|
|
176
176
|
})),
|
|
177
177
|
];
|
|
178
|
-
} else if (xCoord) {
|
|
178
|
+
} else if (xCoord != null) {
|
|
179
179
|
tmpLines = [
|
|
180
180
|
...tmpLines,
|
|
181
181
|
{
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
y2: yItem + yOffset,
|
|
202
202
|
})),
|
|
203
203
|
];
|
|
204
|
-
} else if (yCoord) {
|
|
204
|
+
} else if (yCoord != null) {
|
|
205
205
|
tmpLines = [
|
|
206
206
|
...tmpLines,
|
|
207
207
|
{
|
package/package.json
CHANGED