fix(core): update
This commit is contained in:
parent
10bff069c1
commit
9c2d584170
@ -61,9 +61,11 @@ export class Timer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public pause() {
|
public pause() {
|
||||||
clearTimeout(this.currentTimeout);
|
if (this.startedAt) {
|
||||||
this.currentTimeout = null;
|
clearTimeout(this.currentTimeout);
|
||||||
this.pausedAt = TimeStamp.fromTimeStamp(this.startedAt);
|
this.currentTimeout = null;
|
||||||
|
this.pausedAt = TimeStamp.fromTimeStamp(this.startedAt);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public resume() {
|
public resume() {
|
||||||
|
Loading…
Reference in New Issue
Block a user