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