1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-03 14:59:18 +02:00

Merge pull request #1104 from alikazemkhanloo/fixPageNumbers

update layout before calculating location
This commit is contained in:
Fred Chasen 2021-03-08 11:56:14 -08:00 committed by GitHub
commit 9a9a32799f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -644,6 +644,7 @@ class DefaultViewManager {
}
currentLocation(){
this.updateLayout();
if (this.isPaginated && this.settings.axis === "horizontal") {
this.location = this.paginatedLocation();
} else {