Interactive interface for browsing global, full-resolution satellite imagery
fix boolean wording
Ed Platof730cd2f8fe4
diff --git a/web/js/components/timeline/timeline-axis/timeline-axis.js b/web/js/components/timeline/timeline-axis/timeline-axis.jsindex 84f23a99d..6d23abcd0 100644--- a/web/js/components/timeline/timeline-axis/timeline-axis.js+++ b/web/js/components/timeline/timeline-axis/timeline-axis.js@@ -168,9 +168,9 @@ class TimelineAxis extends Component {// update scale if end time limit has changed (e.g. time has elapsed since the app was started)const hasFutureLayersUpdated = prevProps.hasFutureLayers !== hasFutureLayers;- const isTimelineInteracting = !isDraggerDragging && !isTimelineDragging;+ const isTimelineInteracting = isDraggerDragging || isTimelineDragging;const didtTimelineEndDateLimitUpdate = timelineEndDateLimit !== prevProps.timelineEndDateLimit;- if (didtTimelineEndDateLimitUpdate && (!isAnimationPlaying || hasFutureLayersUpdated) && isTimelineInteracting) {+ if (didtTimelineEndDateLimitUpdate && (!isAnimationPlaying || hasFutureLayersUpdated) && !isTimelineInteracting) {const updatedDraggerDate = hasFutureLayersUpdated? new Date(draggerDate) > new Date(timelineEndDateLimit)? timelineEndDateLimit