clean up
This commit is contained in:
parent
6659efd1e1
commit
c5ee926e65
|
@ -227,8 +227,6 @@ export class TableOfContentsComponent extends BaseComponent implements OnInit, O
|
||||||
if (this.visibilityRulesService.isVisibleMap[target_id] ?? true) {
|
if (this.visibilityRulesService.isVisibleMap[target_id] ?? true) {
|
||||||
this.onToCentrySelected(this._findTocEntryById(target_id, this.tocentries));
|
this.onToCentrySelected(this._findTocEntryById(target_id, this.tocentries));
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
console.log('cannot scroll');
|
|
||||||
}
|
}
|
||||||
} catch {
|
} catch {
|
||||||
}
|
}
|
||||||
|
@ -445,12 +443,10 @@ export class TableOfContentsComponent extends BaseComponent implements OnInit, O
|
||||||
}
|
}
|
||||||
|
|
||||||
onScrollStarted(entry: ToCEntry) {
|
onScrollStarted(entry: ToCEntry) {
|
||||||
this.console.log('started');
|
|
||||||
this.isScrolling = true;
|
this.isScrolling = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
onScrollFinished(entry: ToCEntry) {
|
onScrollFinished(entry: ToCEntry) {
|
||||||
this.console.log('finished');
|
|
||||||
this.isScrolling = false;
|
this.isScrolling = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue