@prose-reader/core 1.58.0 → 1.59.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.
@@ -5158,7 +5158,7 @@
5158
5158
  }),
5159
5159
  operators.switchMap(([, currentEvent]) => {
5160
5160
  if ((currentEvent == null ? void 0 : currentEvent.type) !== `manualAdjust`) return rxjs.EMPTY;
5161
- const animationDuration = currentEvent.animation === `snap` ? settings.settings.computedSnapAnimationDuration : settings.settings.computedPageTurnAnimationDuration;
5161
+ const animationDuration = currentEvent.animation === `snap` ? settings.settings.snapAnimationDuration : settings.settings.computedPageTurnAnimationDuration;
5162
5162
  const pageTurnAnimation = currentEvent.animation === `snap` ? `slide` : settings.settings.computedPageTurnAnimation;
5163
5163
  return rxjs.of(currentEvent).pipe(
5164
5164
  /**
@@ -5513,8 +5513,7 @@
5513
5513
  computedPageTurnDirection: settings.pageTurnDirection,
5514
5514
  computedPageTurnAnimation: settings.pageTurnAnimation,
5515
5515
  computedPageTurnMode: `controlled`,
5516
- computedPageTurnAnimationDuration: 0,
5517
- computedSnapAnimationDuration: 0
5516
+ computedPageTurnAnimationDuration: 0
5518
5517
  };
5519
5518
  if ((manifest == null ? void 0 : manifest.renditionFlow) === `scrolled-continuous`) {
5520
5519
  computedSettings.computedPageTurnMode = `scrollable`;
@@ -5551,7 +5550,7 @@
5551
5550
  // computedPageTurnAnimationDuration: 0,
5552
5551
  pageTurnMode: `controlled`,
5553
5552
  // computedPageTurnMode: `controlled`,
5554
- // computedSnapAnimationDuration: 300,
5553
+ snapAnimationDuration: 300,
5555
5554
  navigationSnapThreshold: 0.3,
5556
5555
  numberOfAdjacentSpineItemToPreLoad: 0
5557
5556
  };