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.
package/lib/index.js CHANGED
@@ -7213,7 +7213,7 @@ function showcaseOpacity(phase) {
7213
7213
  }
7214
7214
  function showcaseScale(phase) {
7215
7215
  if (phase < SHOWCASE_POP_IN_MS) {
7216
- return 0.78 + 0.22 * easeOutBack(phase / SHOWCASE_POP_IN_MS);
7216
+ return Math.min(1, 0.78 + 0.22 * easeOutBack(phase / SHOWCASE_POP_IN_MS));
7217
7217
  }
7218
7218
  if (phase >= SHOWCASE_STEADY_END_MS && phase < SHOWCASE_POP_OUT_END_MS) {
7219
7219
  return 1 - 0.14 * easeInCubic((phase - SHOWCASE_STEADY_END_MS) / SHOWCASE_POP_OUT_MS);