todo: scroll offset

This commit is contained in:
2024-07-17 17:00:07 +03:00
parent e040edb5bd
commit 0fea62b639

View File

@@ -85,6 +85,7 @@ export class ReaderComponent implements AfterViewInit, OnDestroy {
.subscribe((data) => { .subscribe((data) => {
this.isManhwa = data; this.isManhwa = data;
if (this.isManhwa) { if (this.isManhwa) {
//TODO: scroll offset
this.observer = new IntersectionObserver( this.observer = new IntersectionObserver(
([entry]) => entry.isIntersecting && this.testScrollEmitter(), ([entry]) => entry.isIntersecting && this.testScrollEmitter(),
{ {