todo: scroll offset
This commit is contained in:
@@ -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(),
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user