Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fixed issue with click and drag to pan timeline

Taylor Gunnoec11f64febe7e
diff --git a/web/js/date/wv.date.timeline.js b/web/js/date/wv.date.timeline.js
index 4561114f1..4ab73d7dc 100644
--- a/web/js/date/wv.date.timeline.js
+++ b/web/js/date/wv.date.timeline.js
@@ -584,7 +584,9 @@ wv.date.timeline = wv.date.timeline || function(models, config, ui) {
zoomTranslate = zoom.translate()[0];
}
}
-
+ else{
+ zoomTranslate = zoom.translate()[0];
+ }
d3.select("#timeline-footer svg .x.axis")
.call(xAxis);
diff --git a/web/js/ui/wv.ui.mouse.js b/web/js/ui/wv.ui.mouse.js
index 854ca6ac3..93f3e8bba 100644
--- a/web/js/ui/wv.ui.mouse.js
+++ b/web/js/ui/wv.ui.mouse.js
@@ -94,6 +94,11 @@ wv.ui.mouse.wheel = wv.ui.mouse.wheel || function(element, ui, options) {
},500);
}
}
+ else{
+ if ( !(ui.timeline.smallSize()) ){
+ ui.timeline.panAxis();
+ }
+ }
};
var update = function(event) {