mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-10 01:43:43 +00:00
refract: broadcast state
- ability to broadcast state without recalculating timer
This commit is contained in:
@@ -136,9 +136,9 @@ export class Timer {
|
||||
}
|
||||
|
||||
// getObject
|
||||
getObject() {
|
||||
getObject(update = true) {
|
||||
// update timer
|
||||
this.update();
|
||||
if (update) this.update();
|
||||
|
||||
// update timetag
|
||||
this.timeTag = stringFromMillis(this.current);
|
||||
|
||||
Reference in New Issue
Block a user