mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-21 06:59:09 +00:00
bugfix: reload while running
reloading while running wouldnt clear paused data
This commit is contained in:
@@ -779,11 +779,11 @@ class EventTimer extends Timer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
reload() {
|
reload() {
|
||||||
// reload data
|
|
||||||
this.loadEvent(this.selectedEventIndex);
|
|
||||||
|
|
||||||
// reset playstate
|
// reset playstate
|
||||||
this.pause();
|
this.pause();
|
||||||
|
|
||||||
|
// reload data
|
||||||
|
this.loadEvent(this.selectedEventIndex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user