pace: restore splits from previous run
parent
54c85720fc
commit
ce4b7df9ee
|
|
@ -25,7 +25,7 @@ type Split = {
|
||||||
time: Time,
|
time: Time,
|
||||||
};
|
};
|
||||||
|
|
||||||
const splits: Split[] = []; // times
|
const splits: Split[] = (S.readJSON("pace.json", 1) as Split[]) || []; // times
|
||||||
let splitOffset = 0, splitOffsetPx = 0;
|
let splitOffset = 0, splitOffsetPx = 0;
|
||||||
|
|
||||||
const GPS_TIMEOUT_MS = 30000;
|
const GPS_TIMEOUT_MS = 30000;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue