@prose-reader/core 1.54.0 → 1.55.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.
@@ -6386,9 +6386,9 @@
6386
6386
  totalProgress = getTotalProgressFromPercentages(estimateBeforeThisItem, currentItemWeight, progressWithinThisItem);
6387
6387
  }
6388
6388
  if (currentSpineIndex === readingOrderLength - 1 && pageIndex === numberOfPages - 1 && totalProgress > 0.99) {
6389
- return 100;
6389
+ return 1;
6390
6390
  }
6391
- return totalProgress * 100;
6391
+ return totalProgress;
6392
6392
  };
6393
6393
  const getTotalProgressFromPercentages = (estimateBeforeThisItem, currentItemWeight, progressWithinThisItem) => {
6394
6394
  return estimateBeforeThisItem + currentItemWeight * progressWithinThisItem;