@micromag/screen-video 0.2.379 → 0.2.382
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/es/index.js +3 -2
- package/lib/index.js +3 -2
- package/package.json +2 -2
package/es/index.js
CHANGED
|
@@ -159,10 +159,11 @@ var VideoScreen = function VideoScreen(_ref) {
|
|
|
159
159
|
var hasCallToAction = callToAction !== null && callToAction.active === true;
|
|
160
160
|
var hasVideo = video !== null;
|
|
161
161
|
|
|
162
|
-
var _useState9 = useState(
|
|
162
|
+
var _useState9 = useState(hasVideo),
|
|
163
163
|
_useState10 = _slicedToArray(_useState9, 2),
|
|
164
164
|
ready = _useState10[0],
|
|
165
|
-
setReady = _useState10[1];
|
|
165
|
+
setReady = _useState10[1]; // useState(!hasVideo);
|
|
166
|
+
|
|
166
167
|
|
|
167
168
|
var transitionPlaying = current && ready;
|
|
168
169
|
var transitionDisabled = isStatic || isCapture || isPlaceholder || isPreview || isEdit; // get resized video style props
|
package/lib/index.js
CHANGED
|
@@ -180,10 +180,11 @@ var VideoScreen = function VideoScreen(_ref) {
|
|
|
180
180
|
var hasCallToAction = callToAction !== null && callToAction.active === true;
|
|
181
181
|
var hasVideo = video !== null;
|
|
182
182
|
|
|
183
|
-
var _useState9 = React.useState(
|
|
183
|
+
var _useState9 = React.useState(hasVideo),
|
|
184
184
|
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
185
185
|
ready = _useState10[0],
|
|
186
|
-
setReady = _useState10[1];
|
|
186
|
+
setReady = _useState10[1]; // useState(!hasVideo);
|
|
187
|
+
|
|
187
188
|
|
|
188
189
|
var transitionPlaying = current && ready;
|
|
189
190
|
var transitionDisabled = isStatic || isCapture || isPlaceholder || isPreview || isEdit; // get resized video style props
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-video",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.382",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "45fb095754e40c8cc89b4e0ed04c69c04b1033dc"
|
|
72
72
|
}
|