Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Modified loop delay to always be 1.5 seconds if FPS is >= 1. (#4310)

Tom Carielloaf4e763eff2b
diff --git a/web/js/components/animation-widget/play-queue.js b/web/js/components/animation-widget/play-queue.js
index e1ab09569..273e02907 100644
--- a/web/js/components/animation-widget/play-queue.js
+++ b/web/js/components/animation-widget/play-queue.js
@@ -232,7 +232,7 @@ class PlayQueue extends React.Component {
const {
isLoopActive, startDate, togglePlaying, speed,
} = this.props;
- const loopDelay = speed === 0.5 ? 2000 : 1000 / speed;
+ const loopDelay = speed === 0.5 ? 2000 : 1500;
if (isLoopActive) {
this.playingDate = toString(startDate);