Interactive interface for browsing global, full-resolution satellite imagery
Move animation step transistion above data download and event tab selection
ZachTRice3bc9292c7f1b
diff --git a/web/js/components/tour/modal-tour-in-progress.js b/web/js/components/tour/modal-tour-in-progress.jsindex d47644fb8..b89e3ff28 100644--- a/web/js/components/tour/modal-tour-in-progress.js+++ b/web/js/components/tour/modal-tour-in-progress.js@@ -269,6 +269,17 @@ class ModalInProgress extends React.Component {}// layersLoaded = true;+ // Step Transistions: Animation+ if (stepTransition) {+ if (stepTransition.element === 'animation' && stepTransition.action === 'play') {+ animation.playing = true;+ ui.anim.widget.onPressPlay();+ } else {+ animation.playing = false;+ ui.anim.widget.onPressPause();+ }+ }+// Data Downloadvar productId = currentState.download;if (productId) {@@ -296,17 +307,6 @@ class ModalInProgress extends React.Component {ui.naturalEvents.selectEvent(id, date);}- // Step Transistions- if (stepTransition) {- if (stepTransition.element === 'animation' && stepTransition.action === 'play') {- animation.playing = true;- ui.anim.widget.onPressPlay();- } else {- animation.playing = false;- ui.anim.widget.onPressPause();- }- }-// console.log(JSON.stringify(currentState, null, 4));// console.log(JSON.stringify(currentState, null, 4));}