This commit is contained in:
Sofia Papacharalampous 2024-06-03 15:52:09 +03:00
parent 6659efd1e1
commit c5ee926e65
1 changed files with 0 additions and 4 deletions

View File

@ -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;
} }