fix show monitor

This commit is contained in:
2021-06-20 21:45:15 +02:00
parent 2608e90398
commit a00a8ddbb7
6 changed files with 13 additions and 5 deletions

View File

@@ -55,7 +55,10 @@ export class MonitorComponent implements OnInit {
map(_ => _ as Show),
tap<Show>(_ => (this.showType = _.showType)),
tap<Show>(_ => (this.date = _.date.toDate())),
tap<Show>(_ => (this.songId = _.presentationSongId)),
tap<Show>(_ => {
if (this.songId !== _.presentationSongId) this.songId = 'empty';
setTimeout(() => (this.songId = _.presentationSongId), 300);
}),
tap<Show>(_ => (this.index = _.presentationSection)),
tap<Show>(_ => (this.zoom = _.presentationZoom ?? 30))
)