feat(reader): improve cbx reader mobile header and slideshow indicator

This commit is contained in:
ACX
2026-02-10 22:38:15 -07:00
committed by acx10
parent 574bfdbe7a
commit aac8246bcf
6 changed files with 112 additions and 27 deletions
@@ -94,6 +94,9 @@ export class CbxReaderComponent implements OnInit, OnDestroy {
noteDialogData: CbxNoteDialogData | null = null;
private editingNote: BookNoteV2 | null = null;
// Footer visibility (for slideshow progress bar positioning)
isFooterVisible = false;
// Fullscreen state
isFullscreen = false;
@@ -149,6 +152,10 @@ export class CbxReaderComponent implements OnInit, OnDestroy {
this.footerService.setForceVisible(state.footerVisible);
});
this.footerService.forceVisible$
.pipe(takeUntil(this.destroy$))
.subscribe(visible => this.isFooterVisible = visible);
this.subscribeToHeaderEvents();
this.subscribeToSidebarEvents();
this.subscribeToFooterEvents();