pace: restore splits from previous run

master
Rob Pilling 2025-05-14 22:35:36 +01:00
parent 54c85720fc
commit ce4b7df9ee
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ type Split = {
time: Time,
};
const splits: Split[] = []; // times
const splits: Split[] = (S.readJSON("pace.json", 1) as Split[]) || []; // times
let splitOffset = 0, splitOffsetPx = 0;
const GPS_TIMEOUT_MS = 30000;