1
0
Fork 0

rep: rename step

master
Rob Pilling 2023-05-26 08:01:58 +01:00
parent 2d27ef4c2c
commit c446f0962f
1 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ const fontScaleRep = 2;
const fontSzRep = 20; const fontSzRep = 20;
const fontSzRepDesc = 12; const fontSzRepDesc = 12;
const blue = "#86caf7"; const blue = "#86caf7";
const step = 5 * 1000; const ffStep = 5 * 1000;
let state: State | undefined; let state: State | undefined;
let drawInterval: IntervalId | undefined; let drawInterval: IntervalId | undefined;
@ -215,11 +215,11 @@ class State {
} }
forward() { forward() {
this.accumulated += step; this.accumulated += ffStep;
} }
rewind() { rewind() {
this.accumulated -= step; this.accumulated -= ffStep;
} }
} }