Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fix dateStamp stroke #766

Benjamin266dc8f96b47
diff --git a/web/js/animation/gif.js b/web/js/animation/gif.js
index 0cf934904..ef1b9cdec 100644
--- a/web/js/animation/gif.js
+++ b/web/js/animation/gif.js
@@ -180,7 +180,6 @@ export function animationGif(models, config, ui) {
var imageArra;
var stampWidth;
var build;
- var fontSize;
var stampProps;
var newImage;
var breakPointOne = 300;
@@ -240,7 +239,7 @@ export function animationGif(models, config, ui) {
'showFrameText': stampHeight > 20,
'stroke': {
'color': '#000',
- 'pixels': fontSize * 0.05
+ 'pixels': dateStamp.fontSize * 0.05
},
'pause': 1
}, onGifComplete);