From 6af6acfc81595eb4483ea122adcdb9d4bad33bd8 Mon Sep 17 00:00:00 2001 From: jojohoch <joachim.hoch@iqb.hu-berlin.de> Date: Mon, 7 Mar 2022 16:15:30 +0100 Subject: [PATCH] [player] Rename selector of ScrollIndexDirective --- projects/player/src/app/components/layout/layout.component.html | 2 +- projects/player/src/app/directives/scroll-index.directive.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/player/src/app/components/layout/layout.component.html b/projects/player/src/app/components/layout/layout.component.html index d4b406641..ca6bac757 100644 --- a/projects/player/src/app/components/layout/layout.component.html +++ b/projects/player/src/app/components/layout/layout.component.html @@ -103,7 +103,7 @@ [class.concat-scroll-snap-align]="scrollPageMode === 'concat-scroll-snap'" [style.max-width]="page.hasMaxWidth ? page.maxWidth + 'px' : '100%'" [style.padding.px]="page.margin" - appScrollIndex + aspectScrollIndex [pagesContainer]="pagesContainer" [selectIndex]="selectIndex" [index]="i"> diff --git a/projects/player/src/app/directives/scroll-index.directive.ts b/projects/player/src/app/directives/scroll-index.directive.ts index f5606098e..ba8a53b42 100644 --- a/projects/player/src/app/directives/scroll-index.directive.ts +++ b/projects/player/src/app/directives/scroll-index.directive.ts @@ -4,7 +4,7 @@ import { import { Subject } from 'rxjs'; @Directive({ - selector: '[appScrollIndex]' + selector: '[aspectScrollIndex]' }) export class ScrollIndexDirective implements OnInit { @Input() selectIndex!: Subject<number>; -- GitLab