Show spots longer on screen, match current lifetime

This commit is contained in:
Mikko Ahlroth 2020-04-04 12:14:09 +03:00
parent 24e888914e
commit 430b416d30

View file

@ -1,8 +1,9 @@
import { Component } from "./component.js";
import { CURRENT_THRESHOLD } from "./config.js";
import { IPageView } from "./page-view.js";
/** How many seconds a spot lives on the map. */
const SPOT_LIFETIME = 60;
const SPOT_LIFETIME = CURRENT_THRESHOLD;
/** How often in seconds to update spot opacity. */
const SPOT_UPDATE_INTERVAL = 1;