There was an error while loading. Please reload this page.
2 parents 385c57c + 4c813ff commit 7ff20c5Copy full SHA for 7ff20c5
1 file changed
src/component/Overlay.ts
@@ -410,7 +410,9 @@ export default class OverlayImp<E = unknown> implements Overlay<E> {
410
}
411
412
eventPressedPointMove(point: Partial<Point>, pointIndex: number): void {
413
- this.points[pointIndex].timestamp = point.timestamp
+ if (isNumber(point.timestamp)) {
414
+ this.points[pointIndex].timestamp = point.timestamp
415
+ }
416
if (isNumber(point.dataIndex)) {
417
this.points[pointIndex].dataIndex = point.dataIndex
418
0 commit comments