diff --git a/src/app/modules/presentation/monitor/monitor.component.less b/src/app/modules/presentation/monitor/monitor.component.less index 1ca85a4..aac84bc 100644 --- a/src/app/modules/presentation/monitor/monitor.component.less +++ b/src/app/modules/presentation/monitor/monitor.component.less @@ -80,7 +80,7 @@ flex-direction: column; font-size: 13vh; box-sizing: border-box; - text-shadow: 0 0 10px black, 0 0 20px black, 0 0 40px black; + text-shadow: 0 0 2px black, 0 0 5px black, 0 0 10px black, 0 0 20px black, 0 0 30px black, 0 0 35px black, 0 0 40px black, 0 0 45px black; .date { font-size: 0.6em; @@ -97,6 +97,7 @@ .blur { filter: blur(10px); opacity: 0.5; + scale: 0.9; } .hide { diff --git a/src/app/modules/presentation/remote/remote.component.html b/src/app/modules/presentation/remote/remote.component.html index 8d81472..600837f 100644 --- a/src/app/modules/presentation/remote/remote.component.html +++ b/src/app/modules/presentation/remote/remote.component.html @@ -6,14 +6,14 @@
Veranstaltung
@@ -27,13 +27,13 @@ [class.active]="show.presentationSongId === song.id" class="title song-part" > -
+
{{ song.title }}
+ (ngModelChange)="onBackground($event, show.id)"> kein Hintergrund Sternenhimmel Blätter @@ -72,7 +72,7 @@ _.type === 1)[0].text; } - public async onSectionClick(id: string, index: number): Promise { - if (this.currentShowId != null) - await this.showService.update$(this.currentShowId, { - presentationSongId: id, - presentationSection: index, - }); + public async onSectionClick(id: string, index: number, showId: string): Promise { + await this.showService.update$(showId, { + presentationSongId: id, + presentationSection: index, + }); } - public async onZoom(presentationZoom: number): Promise { - if (this.currentShowId != null) await this.showService.update$(this.currentShowId, {presentationZoom}); + public async onZoom(presentationZoom: number, showId: string): Promise { + await this.showService.update$(showId, {presentationZoom}); } - public async onBackground(presentationBackground: PresentationBackground): Promise { - if (this.currentShowId != null) await this.showService.update$(this.currentShowId, {presentationBackground}); + public async onBackground(presentationBackground: PresentationBackground, showId: string): Promise { + await this.showService.update$(showId, {presentationBackground}); } } diff --git a/src/app/modules/presentation/select/select.component.ts b/src/app/modules/presentation/select/select.component.ts index c99eed5..e05f97f 100644 --- a/src/app/modules/presentation/select/select.component.ts +++ b/src/app/modules/presentation/select/select.component.ts @@ -22,9 +22,10 @@ export class SelectComponent implements OnInit { public async selectShow(show: Show) { this.visible = false; + await this.globalSettingsService.set({currentShow: show.id}); - await this.showService.update$(show.id, {presentationSongId: 'title'}); - await this.router.navigateByUrl('/presentation/remote'); + void this.showService.update$(show.id, {presentationSongId: 'title'}); + void this.router.navigateByUrl('/presentation/remote'); } public ngOnInit(): void {