Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fix size of animation dragger arrows

ZachTRicebe22dee9b1b4
diff --git a/web/css/timeline.css b/web/css/timeline.css
index 6360ce9be..14d1423e8 100644
--- a/web/css/timeline.css
+++ b/web/css/timeline.css
@@ -384,10 +384,19 @@ g.plot rect.data-bar-invisible {
}
#timeline-footer svg {
- overflow: hidden;
margin-top: -16px;
}
+#timeline-footer > svg {
+ overflow-y: hidden;
+ margin-top: -32px;
+ padding-top: 16px;
+}
+
+#wv-rangeselector-case > .wv-timeline-range-selector {
+ overflow: visible;
+}
+
#timeline-footer svg > g {
overflow: hidden;
visibility: visible;
diff --git a/web/js/animation/ui.js b/web/js/animation/ui.js
index 707a1f1a3..d0d9cb4e5 100644
--- a/web/js/animation/ui.js
+++ b/web/js/animation/ui.js
@@ -78,6 +78,7 @@ export function animationUi(models, ui) {
*/
self.refreshState = function () {
+ self.clearCache();
preloadArray = [];
preload = {};
pastDates = {};
@@ -365,7 +366,6 @@ export function animationUi(models, ui) {
}
currentDate = util.parseDateUTC(index);
lastToQueue = self.getLastBufferDateStr(currentDate, startDate, endDate);
-
if (!preloadArray[0] && !inQueue[index]) {
self.initialPreload(currentDate, startDate, endDate, lastToQueue);
} else if (!preload[lastToQueue] && !inQueue[lastToQueue] && !self.state.supportingCustomLayers) { // if last preload date doesn't exist
diff --git a/web/js/date/timeline.js b/web/js/date/timeline.js
index 32cabf11a..2834da21d 100644
--- a/web/js/date/timeline.js
+++ b/web/js/date/timeline.js
@@ -133,7 +133,7 @@ export function timeline(models, config, ui) {
self.svg = d3.select('#timeline-footer')
.append('svg:svg')
.attr('width', self.width) // + margin.left + margin.right)
- .attr('height', self.height + self.margin.top + self.margin.bottom + 16);
+ .attr('height', self.height + self.margin.top + self.margin.bottom + 32);
self.svg
.append('svg:defs')