Skip to content

fix: Unify book-progress percent across reader screens#142

Merged
znelson merged 1 commit into
mainfrom
percent-calc
Jul 16, 2026
Merged

fix: Unify book-progress percent across reader screens#142
znelson merged 1 commit into
mainfrom
percent-calc

Conversation

@znelson

@znelson znelson commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Status bar used a 1-based intra-spine page fraction while the menu, go-to-percent, screenshot, and bookmark list used 0-based, so the same position read differently per screen and the 0-based ones never hit 100% at book end. Route all five through Epub::calculateProgressForPage (1-based).

@znelson
znelson force-pushed the percent-calc branch 2 times, most recently from 0512e20 to 8a234d1 Compare July 16, 2026 16:59
@znelson
znelson enabled auto-merge (squash) July 16, 2026 17:00
@znelson
znelson merged commit fea94f8 into main Jul 16, 2026
6 checks passed
@znelson
znelson deleted the percent-calc branch July 16, 2026 17:05
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