Skip to content

fix: stabilize page curl backside transitions#555

Merged
everpcpc merged 1 commit intomainfrom
codex/page-curl
Feb 24, 2026
Merged

fix: stabilize page curl backside transitions#555
everpcpc merged 1 commit intomainfrom
codex/page-curl

Conversation

@everpcpc
Copy link
Copy Markdown
Owner

Summary

  • add PageCurlBacksideViewController to render a custom backside color (with configurable fill/dim opacity) for page-curl transitions
  • add PageCurlControllerPlanner to centralize page-curl runtime setup, controller-count planning, and safe setViewControllers normalization
  • update DIVINA and EPUB curl flows to use unified backside routing and commit target controllers after transition, including non-animated initial programmatic jumps
  • keep compact reader control chip horizontal padding consistent in DIVINA/PDF overlays

Testing

  • make format
  • make build

Introduce shared page curl planning and safe controller assignment for DIVINA and EPUB readers.

Use a dedicated backside view controller style so curl backside rendering follows reader background instead of the system default bright backside.

Route all page curl setViewControllers calls through a helper that normalizes controller counts to match runtime spine requirements, and keep initial programmatic jumps non-animated to avoid startup transition glitches.

Also keep control chip horizontal padding consistent with default spacing in divina and pdf overlays.
@everpcpc everpcpc merged commit 9cfbfd7 into main Feb 24, 2026
3 checks passed
@everpcpc everpcpc deleted the codex/page-curl branch February 24, 2026 09:57
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