Skip to content

fix: goes to relative position when reader settings are changed#486

Merged
daveallie merged 1 commit intocrosspoint-reader:masterfrom
GenesiaW:fix/relative-position-on-reader-settings-change
Jan 27, 2026
Merged

fix: goes to relative position when reader settings are changed#486
daveallie merged 1 commit intocrosspoint-reader:masterfrom
GenesiaW:fix/relative-position-on-reader-settings-change

Conversation

@GenesiaW
Copy link
Contributor

Summary

  • Increased size of progress.bin such that total page count of current section can be stored
  • Comparison of total page count is done to determine if reader settings were changed
  • New position/page number is calculated using percentage calculated from read progress

Additional Context

  • Add any other information that might be helpful for the reviewer (e.g., performance implications, potential risks,
    specific areas to focus on).

AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing, please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? NO

@lukestein
Copy link
Contributor

lukestein commented Jan 24, 2026

Testing on device and seems to work great with epubs. I've tried both rotation and font size changes. Thank you!

Does not appear to do anything for text files.

@daveallie daveallie merged commit 6ca75c4 into crosspoint-reader:master Jan 27, 2026
2 checks passed
Jessica765 pushed a commit to Jessica765/crosspoint-reader that referenced this pull request Feb 3, 2026
…spoint-reader#486)

## Summary

* **What is the goal of this PR?** (e.g., Implements the new feature for
file uploading.)
* Aims to fix Issue crosspoint-reader#220 

* **What changes are included?**
- Increased size of `progress.bin` such that total page count of current
section can be stored
- Comparison of total page count is done to determine if reader settings
were changed
- New position/page number is calculated using percentage calculated
from read progress

## Additional Context

* Add any other information that might be helpful for the reviewer
(e.g., performance implications, potential risks,
  specific areas to focus on).

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? _**NO**_
Unintendedsideeffects pushed a commit to Unintendedsideeffects/crosspoint-reader that referenced this pull request Feb 17, 2026
…spoint-reader#486)

## Summary

* **What is the goal of this PR?** (e.g., Implements the new feature for
file uploading.)
* Aims to fix Issue crosspoint-reader#220 

* **What changes are included?**
- Increased size of `progress.bin` such that total page count of current
section can be stored
- Comparison of total page count is done to determine if reader settings
were changed
- New position/page number is calculated using percentage calculated
from read progress

## Additional Context

* Add any other information that might be helpful for the reviewer
(e.g., performance implications, potential risks,
  specific areas to focus on).

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? _**NO**_
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.

4 participants