@d-i-t-a/reader 2.5.2 → 2.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +6 -1
- package/dist/esm/index.js.map +2 -2
- package/dist/reader.js +1 -1
- package/dist/reader.js.map +2 -2
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -70986,7 +70986,6 @@ var ReflowableBookView = class {
|
|
|
70986
70986
|
}
|
|
70987
70987
|
}
|
|
70988
70988
|
this.setSize();
|
|
70989
|
-
this.padOddColumns();
|
|
70990
70989
|
}
|
|
70991
70990
|
if (this.navigator.rights.enableContentProtection) {
|
|
70992
70991
|
this.navigator.contentProtectionModule?.recalculate();
|
|
@@ -87176,6 +87175,9 @@ var IFrameNavigator = class _IFrameNavigator extends eventemitter3_default {
|
|
|
87176
87175
|
this.view?.goToCssSelector(startContainer);
|
|
87177
87176
|
}
|
|
87178
87177
|
} else if (bookViewPosition && bookViewPosition >= 0) {
|
|
87178
|
+
if (this.view?.layout !== "fixed") {
|
|
87179
|
+
this.view?.padOddColumns?.();
|
|
87180
|
+
}
|
|
87179
87181
|
this.view?.goToProgression(bookViewPosition);
|
|
87180
87182
|
}
|
|
87181
87183
|
this.newPosition = void 0;
|
|
@@ -88331,6 +88333,9 @@ var IFrameNavigator = class _IFrameNavigator extends eventemitter3_default {
|
|
|
88331
88333
|
this.newElementId = locator.locations.fragment;
|
|
88332
88334
|
this.currentTocUrl = this.currentChapterLink.href + "#" + this.newElementId;
|
|
88333
88335
|
}
|
|
88336
|
+
if (this.view?.layout !== "fixed") {
|
|
88337
|
+
this.view?.padOddColumns?.();
|
|
88338
|
+
}
|
|
88334
88339
|
if (this.newElementId) {
|
|
88335
88340
|
for (const iframe of this.iframes) {
|
|
88336
88341
|
const element = iframe.contentDocument.getElementById(
|