There was an error while loading. Please reload this page.
1 parent 9d09a41 commit 4c813ffCopy full SHA for 4c813ff
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