Skip to content

fix(reader): prevent invalid previous-page curl at first page#491

Merged
everpcpc merged 2 commits intomainfrom
fix/issue-489-curl-boundary
Feb 16, 2026
Merged

fix(reader): prevent invalid previous-page curl at first page#491
everpcpc merged 2 commits intomainfrom
fix/issue-489-curl-boundary

Conversation

@everpcpc
Copy link
Copy Markdown
Owner

@everpcpc everpcpc commented Feb 16, 2026

What

  • Tighten page-curl gesture begin guard in simulated page-turning mode
  • When pan direction is ambiguous, start gesture only if both previous and next pages exist
  • Keep existing directional checks unchanged when direction is clear
  • Bump CURRENT_PROJECT_VERSION from 284 to 285

Why

At boundary pages (especially the first page), an ambiguous initial pan could still start a curl toward a non-existent previous page and crash.

Closes #489

@everpcpc everpcpc merged commit 19fe85f into main Feb 16, 2026
3 checks passed
@everpcpc everpcpc deleted the fix/issue-489-curl-boundary branch February 16, 2026 08:23
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.

[Bug] the first page of the first book attempts to go to the previous page and will crash directly.

1 participant