Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

reduce debounce timing for dragger updateDate to allow timeline scrubbing date change

Edward Platoc7940efab723
diff --git a/web/js/containers/timeline/timeline.js b/web/js/containers/timeline/timeline.js
index 40485265b..b6eec129f 100644
--- a/web/js/containers/timeline/timeline.js
+++ b/web/js/containers/timeline/timeline.js
@@ -90,7 +90,7 @@ class Timeline extends React.Component {
rangeSelectorMax: { end: false, start: false, startOffset: -50, width: 50000 }
};
// left/right arrows
- this.debounceDateUpdate = lodashDebounce(this.props.changeDate, 50);
+ this.debounceDateUpdate = lodashDebounce(this.props.changeDate, 8);
this.throttleDecrementDate = lodashThrottle(this.handleArrowDateChange.bind(this, -1), ANIMATION_DELAY, { leading: true, trailing: false });
this.throttleIncrementDate = lodashThrottle(this.handleArrowDateChange.bind(this, 1), ANIMATION_DELAY, { leading: true, trailing: false });