@zync/zync-screnplay-player 0.1.220 → 0.1.221
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.
|
@@ -548,7 +548,9 @@ export var HookVideo = function HookVideo(_ref5) {
|
|
|
548
548
|
var contentWidth = width - outerPadding * 2;
|
|
549
549
|
var contentHeight = height - outerPadding * 2;
|
|
550
550
|
var playHookSounds = !disableTransitionSounds && !disableHookSounds;
|
|
551
|
+
var monoShockRevealOffset = style === HOOK_STYLE_PRESETS.mono_shock ? letterboxHeight : 0;
|
|
551
552
|
var monoShockInset = style === HOOK_STYLE_PRESETS.mono_shock && activeOrientation === "landscape" ? letterboxHeight : 0;
|
|
553
|
+
var monoShockOverlayInset = style === HOOK_STYLE_PRESETS.mono_shock && activeOrientation !== "landscape" ? letterboxHeight : 0;
|
|
552
554
|
var monoShockRadius = style === HOOK_STYLE_PRESETS.mono_shock ? 0 : plateRadius;
|
|
553
555
|
var monoShockStageStyle = style === HOOK_STYLE_PRESETS.mono_shock ? {
|
|
554
556
|
position: "absolute",
|
|
@@ -653,7 +655,31 @@ export var HookVideo = function HookVideo(_ref5) {
|
|
|
653
655
|
zIndex: 3,
|
|
654
656
|
backdropFilter: "blur(10px)"
|
|
655
657
|
}
|
|
656
|
-
}) : null), style === HOOK_STYLE_PRESETS.
|
|
658
|
+
}) : null), style === HOOK_STYLE_PRESETS.mono_shock && monoShockOverlayInset > 0 ? /*#__PURE__*/React.createElement(AbsoluteFill, {
|
|
659
|
+
style: {
|
|
660
|
+
zIndex: 10,
|
|
661
|
+
opacity: hookOverlayOpacity,
|
|
662
|
+
pointerEvents: "none"
|
|
663
|
+
}
|
|
664
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
665
|
+
style: {
|
|
666
|
+
position: "absolute",
|
|
667
|
+
top: 0,
|
|
668
|
+
left: 0,
|
|
669
|
+
right: 0,
|
|
670
|
+
height: monoShockOverlayInset,
|
|
671
|
+
backgroundColor: primaryColor || "#5a4a86"
|
|
672
|
+
}
|
|
673
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
674
|
+
style: {
|
|
675
|
+
position: "absolute",
|
|
676
|
+
bottom: 0,
|
|
677
|
+
left: 0,
|
|
678
|
+
right: 0,
|
|
679
|
+
height: monoShockOverlayInset,
|
|
680
|
+
backgroundColor: primaryColor || "#5a4a86"
|
|
681
|
+
}
|
|
682
|
+
})) : null, style === HOOK_STYLE_PRESETS.split_reveal ? /*#__PURE__*/React.createElement("div", {
|
|
657
683
|
style: {
|
|
658
684
|
position: "absolute",
|
|
659
685
|
inset: 0,
|
|
@@ -702,7 +728,7 @@ export var HookVideo = function HookVideo(_ref5) {
|
|
|
702
728
|
}, /*#__PURE__*/React.createElement("div", {
|
|
703
729
|
style: {
|
|
704
730
|
position: "absolute",
|
|
705
|
-
top:
|
|
731
|
+
top: monoShockRevealOffset,
|
|
706
732
|
left: 0,
|
|
707
733
|
right: 0,
|
|
708
734
|
height: 2,
|
|
@@ -712,7 +738,7 @@ export var HookVideo = function HookVideo(_ref5) {
|
|
|
712
738
|
}), /*#__PURE__*/React.createElement("div", {
|
|
713
739
|
style: {
|
|
714
740
|
position: "absolute",
|
|
715
|
-
bottom:
|
|
741
|
+
bottom: monoShockRevealOffset,
|
|
716
742
|
left: 0,
|
|
717
743
|
right: 0,
|
|
718
744
|
height: 2,
|