stormcloud-video-player 0.7.38 → 0.7.39

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.
@@ -1749,7 +1749,7 @@ function showcaseOpacity(phase) {
1749
1749
  }
1750
1750
  function showcaseScale(phase) {
1751
1751
  if (phase < SHOWCASE_POP_IN_MS) {
1752
- return 0.78 + 0.22 * easeOutBack(phase / SHOWCASE_POP_IN_MS);
1752
+ return Math.min(1, 0.78 + 0.22 * easeOutBack(phase / SHOWCASE_POP_IN_MS));
1753
1753
  }
1754
1754
  if (phase >= SHOWCASE_STEADY_END_MS && phase < SHOWCASE_POP_OUT_END_MS) {
1755
1755
  return 1 - 0.14 * easeInCubic((phase - SHOWCASE_STEADY_END_MS) / SHOWCASE_POP_OUT_MS);