Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I added page change events and page load events, and fixed a few bugs… #110

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DamienDoumer
Copy link

I added page change events and page load events, and fixed a few bugs. These modifications will make it easy to listen to event changes in the library, and open a book at a specific page at startup.

…. These modifications will make it easy to listen to event changes in the library, and open a book at a specific page at startup.
@eriquezinedine
Copy link

I have tried the code. and you can only navigate to a specific chapter but not to a page of the book.

Suppose the beginning of chapter 2 is at number 12.

you place 13 and visually it shows you chapter 12

Example:
image

In this example you could see that the page you see is two more than the beginning of the chapter.

Screenshot 2025-02-18 at 2 18 03 PM

Screenshot 2025-02-18 at 2 18 13 PM

where a white rectangle is, page 12 would be the beginning of the chapter.

therefore the next one is the 13th. (Here I should have actually navigated)

and the one that says 13 in red really should have been 14.

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.

2 participants