|
|
@ -57,7 +57,6 @@ export class HistorySelectorComponent implements OnInit, OnChanges { |
|
|
.pipe( |
|
|
.pipe( |
|
|
filter(() => this.playing)).subscribe(() => { |
|
|
filter(() => this.playing)).subscribe(() => { |
|
|
this.index++; |
|
|
this.index++; |
|
|
console.log("HistorySelectorComponent -> play -> this.index", this.index, this.maxTimeIndex) |
|
|
|
|
|
if (this.index < this.maxTimeIndex) { |
|
|
if (this.index < this.maxTimeIndex) { |
|
|
this.cd.detectChanges(); |
|
|
this.cd.detectChanges(); |
|
|
this.timeUpdated.emit(this.intervals[this.index]); |
|
|
this.timeUpdated.emit(this.intervals[this.index]); |
|
|
|