Interactive interface for browsing global, full-resolution satellite imagery
prevent scale update if animation is playing
Edward Plato40096c553c60
diff --git a/web/js/components/timeline/timeline-axis/timeline-axis.js b/web/js/components/timeline/timeline-axis/timeline-axis.jsindex 02d313297..467d1e888 100644--- a/web/js/components/timeline/timeline-axis/timeline-axis.js+++ b/web/js/components/timeline/timeline-axis/timeline-axis.js@@ -499,8 +499,8 @@ 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) {- this.updateScale(draggerDate, timeScale, null, null, true);+ if (timelineEndDateLimit !== prevProps.timelineEndDateLimit && !isAnimationPlaying) {+ this.updateScale(draggerDate, timeScale, null, null);}// handle switching A/B dragger axis focus if switched from A/B sidebar tabs