mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-19 06:04:05 +00:00
feat: allow add time to aux timer
This commit is contained in:
committed by
Carlos Valente
parent
7dec32aea7
commit
1e8706aa73
@@ -57,6 +57,11 @@ export class AuxTimerService {
|
||||
return this.timer.setTime(duration);
|
||||
}
|
||||
|
||||
@broadcastReturn
|
||||
addTime(millis: number) {
|
||||
return this.timer.setTime(this.timer.state.current + millis);
|
||||
}
|
||||
|
||||
@broadcastReturn
|
||||
private update() {
|
||||
return this.timer.update(this.getTime());
|
||||
|
||||
Reference in New Issue
Block a user