@prose-reader/react-reader 1.205.0 → 1.206.0
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/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -460,7 +460,7 @@ const Rt = (e, n, o) => {
|
|
|
460
460
|
}
|
|
461
461
|
);
|
|
462
462
|
}
|
|
463
|
-
), Dt = "@prose-reader/react-reader", Et = "1.
|
|
463
|
+
), Dt = "@prose-reader/react-reader", Et = "1.205.0", At = m(
|
|
464
464
|
({
|
|
465
465
|
open: e,
|
|
466
466
|
setOpen: n
|
|
@@ -846,7 +846,7 @@ const Yt = K.Root, Ut = K.ValueText, pe = () => {
|
|
|
846
846
|
const D = l ? Math.floor(k) * 2 : Math.floor(k);
|
|
847
847
|
a ? n == null || n.navigation.goToPageOfSpineItem({
|
|
848
848
|
pageIndex: D,
|
|
849
|
-
spineItemId: n.pagination.
|
|
849
|
+
spineItemId: n.pagination.state.beginSpineItemIndex ?? 0,
|
|
850
850
|
animation: !1
|
|
851
851
|
}) : n == null || n.navigation.goToAbsolutePageIndex({
|
|
852
852
|
absolutePageIndex: D,
|