Skip to content

fix: restore epub overlay transitions#684

Merged
everpcpc merged 1 commit intomainfrom
codex/fix-epub-overlay-transitions
Mar 22, 2026
Merged

fix: restore epub overlay transitions#684
everpcpc merged 1 commit intomainfrom
codex/fix-epub-overlay-transitions

Conversation

@everpcpc
Copy link
Owner

Problem

The EPUB reader regressed after the shared overlay refactor. Hidden overlay entries started clearing their label text before fading out, which made iOS transitions feel abrupt, and macOS EPUB no longer exposed the same overlay toggle behavior as Divina.

Approach

Restore the overlay model so hidden entries keep their last rendered text while only visibility changes animate. On macOS, animate controls-mode switches in the shared AppKit overlay and route Space / C through the EPUB reader's overlay toggle path so keyboard behavior matches Divina.

Scope

  • Preserve overlay label text while hidden in the shared EPUB overlay support
  • Restore smooth iOS overlay transitions after controls toggles
  • Add animated overlay switching on macOS EPUB
  • Align macOS EPUB keyboard shortcuts and help text with Divina for overlay toggling

Validation

  • make build-macos
  • make build-ios

Restore smooth EPUB overlay text transitions after the overlay support refactor changed hidden entries to clear label text before fade-out. Update the shared overlay model to preserve text while hidden, wire macOS overlay transitions for controls-mode switches, and align macOS EPUB keyboard shortcuts with Divina so Space/C toggle the overlay state consistently.
@everpcpc everpcpc merged commit d901d74 into main Mar 22, 2026
3 checks passed
@everpcpc everpcpc deleted the codex/fix-epub-overlay-transitions branch March 22, 2026 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant