-
Notifications
You must be signed in to change notification settings - Fork 80
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
[EPUB FXL] Panning in a zoom resource is broken #164
Comments
Hello, any idea why it is blocked? Or where the issue might be? |
Not really, I didn't look into this issue yet. My first guess would be that the |
Is the panning supposed to be handled on the Kotlin side or on the WebView/JS side? |
On the Kotlin side, by the |
Has it ever worked in the past? Reading the code, I have the feeling that it has never been implemented. |
Could be, I never saw it work. |
This line is weird: private fun internalMove(posX: Float, posY: Float, clamp: Boolean): Boolean {
return internalMoveBy(posX - posX, posY - posY, clamp)
} |
And this one too: if (!NumberUtils.isEqual(posX, posX) || !NumberUtils.isEqual(posY, posY)) { |
When a FXL resource is zoomed in, there's no way to move around the viewport by panning it, it's blocked.
Related issue: When rotating the device to landscape, the EPUB FXL is zoomed and clipped (since we can't pan around).
The text was updated successfully, but these errors were encountered: