@micromag/screen-timeline 0.3.628 → 0.3.631

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.
Files changed (2) hide show
  1. package/es/index.js +4 -3
  2. package/package.json +2 -2
package/es/index.js CHANGED
@@ -94,7 +94,8 @@ var Timeline = function Timeline(_ref) {
94
94
  var _useScreenSize = useScreenSize(),
95
95
  width = _useScreenSize.width,
96
96
  height = _useScreenSize.height,
97
- imageResolution = _useScreenSize.imageResolution;
97
+ imageResolution = _useScreenSize.imageResolution,
98
+ resolution = _useScreenSize.resolution;
98
99
  var _useViewerContext = useViewerContext(),
99
100
  viewerTopHeight = _useViewerContext.topHeight,
100
101
  viewerBottomHeight = _useViewerContext.bottomHeight,
@@ -224,7 +225,7 @@ var Timeline = function Timeline(_ref) {
224
225
  videoClassName: styles.video,
225
226
  media: image,
226
227
  width: imageWidth,
227
- imageResolution: imageResolution,
228
+ resolution: resolution,
228
229
  playing: backgroundPlaying,
229
230
  active: active,
230
231
  shouldLoad: mediaShouldLoad,
@@ -360,7 +361,7 @@ var Timeline = function Timeline(_ref) {
360
361
  background: background,
361
362
  width: width,
362
363
  height: height,
363
- imageResolution: imageResolution,
364
+ resolution: imageResolution,
364
365
  playing: backgroundPlaying,
365
366
  muted: muted,
366
367
  shouldLoad: mediaShouldLoad,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-timeline",
3
- "version": "0.3.628",
3
+ "version": "0.3.631",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -81,5 +81,5 @@
81
81
  "access": "public",
82
82
  "registry": "https://registry.npmjs.org/"
83
83
  },
84
- "gitHead": "6f1230244a2966c16e85b7d44583276421a38cca"
84
+ "gitHead": "fe0603f1330f71ca54a175d8135774df0e45b472"
85
85
  }