Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

add settimeout to account for animation #1011

Benjamin Kingcf2a4f34f003
diff --git a/web/js/animation/gif.js b/web/js/animation/gif.js
index 6cabd461b..4a7dbb9b6 100644
--- a/web/js/animation/gif.js
+++ b/web/js/animation/gif.js
@@ -371,7 +371,7 @@ export function animationGif(models, config, ui) {
onOk: function() {
resetRotation();
// Let rotation finish before reselecting can occur
- setImageCoords();
+ setTimeout(setImageCoords, 500);
}
});
return;