@micromag/screen-gallery 0.3.729 → 0.3.730
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 +2 -1
- package/package.json +2 -2
package/es/index.js
CHANGED
|
@@ -245,7 +245,7 @@ var GalleryScreen = function GalleryScreen(_ref) {
|
|
|
245
245
|
current = _ref.current,
|
|
246
246
|
active = _ref.active,
|
|
247
247
|
preload = _ref.preload,
|
|
248
|
-
|
|
248
|
+
initialSpacing = _ref.spacing,
|
|
249
249
|
captionMaxLines = _ref.captionMaxLines,
|
|
250
250
|
className = _ref.className;
|
|
251
251
|
var _useScreenSize = useScreenSize(),
|
|
@@ -261,6 +261,7 @@ var GalleryScreen = function GalleryScreen(_ref) {
|
|
|
261
261
|
var _usePlaybackContext = usePlaybackContext(),
|
|
262
262
|
muted = _usePlaybackContext.muted;
|
|
263
263
|
var mediaRef = usePlaybackMediaRef(current);
|
|
264
|
+
var spacing = initialSpacing !== null ? Math.max(0, initialSpacing || 0) : 20;
|
|
264
265
|
var _useScreenRenderConte = useScreenRenderContext(),
|
|
265
266
|
isView = _useScreenRenderConte.isView,
|
|
266
267
|
isPreview = _useScreenRenderConte.isPreview,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-gallery",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.730",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"access": "public",
|
|
81
81
|
"registry": "https://registry.npmjs.org/"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "4c3abc6e746f8b876633e21150245d5fdc285429"
|
|
84
84
|
}
|