Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

prevent axid update if dragging timeline or dragger at that time

Edward Plato533dde6d6a8c
diff --git a/web/js/components/timeline/timeline-axis/timeline-axis.js b/web/js/components/timeline/timeline-axis/timeline-axis.js
index 467d1e888..0830ee894 100644
--- a/web/js/components/timeline/timeline-axis/timeline-axis.js
+++ b/web/js/components/timeline/timeline-axis/timeline-axis.js
@@ -475,6 +475,7 @@ class TimelineAxis extends Component {
axisWidth,
isAnimationPlaying,
isCompareModeActive,
+ isTimelineDragging,
draggerTimeState,
draggerTimeStateB,
timelineEndDateLimit
@@ -499,7 +500,7 @@ class TimelineAxis extends Component {
}
// update scale if end time limit has changed (e.g. time has elapsed since the app was started)
- if (timelineEndDateLimit !== prevProps.timelineEndDateLimit && !isAnimationPlaying) {
+ if (timelineEndDateLimit !== prevProps.timelineEndDateLimit && !isAnimationPlaying && !isDraggerDragging && !isTimelineDragging) {
this.updateScale(draggerDate, timeScale, null, null);
}