@zync/zync-screnplay-player 0.1.223 → 0.1.225
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.
|
@@ -516,10 +516,13 @@ export var HookVideo = function HookVideo(_ref5) {
|
|
|
516
516
|
extrapolateLeft: "clamp",
|
|
517
517
|
extrapolateRight: "clamp"
|
|
518
518
|
})), HOOK_STYLE_PRESETS.border_alarm, 0), HOOK_STYLE_PRESETS.split_reveal, 0)[style];
|
|
519
|
-
var letterboxHeight = style === HOOK_STYLE_PRESETS.mono_shock ? interpolate(frame, [0, effectiveHookFrames
|
|
519
|
+
var letterboxHeight = style === HOOK_STYLE_PRESETS.mono_shock ? (overlayEndFrame <= effectiveHookFrames ? interpolate(frame, [0, effectiveHookFrames], [0, height * 0.11], {
|
|
520
520
|
extrapolateLeft: "clamp",
|
|
521
521
|
extrapolateRight: "clamp"
|
|
522
|
-
}) *
|
|
522
|
+
}) : interpolate(frame, [0, effectiveHookFrames, overlayEndFrame], [0, height * 0.11, height * 0.11], {
|
|
523
|
+
extrapolateLeft: "clamp",
|
|
524
|
+
extrapolateRight: "clamp"
|
|
525
|
+
})) * hookOverlayOpacity : 0;
|
|
523
526
|
var borderWidth = style === HOOK_STYLE_PRESETS.border_alarm ? interpolate(frame, [0, effectiveHookFrames], [24, 0], {
|
|
524
527
|
extrapolateLeft: "clamp",
|
|
525
528
|
extrapolateRight: "clamp"
|