@micromag/viewer 0.3.648 → 0.3.649
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 +5 -4
- package/package.json +4 -4
package/es/index.js
CHANGED
|
@@ -2841,9 +2841,8 @@ var Viewer = function Viewer(_ref) {
|
|
|
2841
2841
|
var isEditor = renderContext === 'edit';
|
|
2842
2842
|
var withoutScreensTransforms = isStatic || isCapture;
|
|
2843
2843
|
var _usePlaybackContext = usePlaybackContext(),
|
|
2844
|
-
playing = _usePlaybackContext.playing
|
|
2845
|
-
_usePlaybackContext.
|
|
2846
|
-
var _usePlaybackContext$c = _usePlaybackContext.controls,
|
|
2844
|
+
playing = _usePlaybackContext.playing,
|
|
2845
|
+
_usePlaybackContext$c = _usePlaybackContext.controls,
|
|
2847
2846
|
playbackControls = _usePlaybackContext$c === undefined ? false : _usePlaybackContext$c,
|
|
2848
2847
|
_usePlaybackContext$c2 = _usePlaybackContext.controlsVisible,
|
|
2849
2848
|
playbackcontrolsVisible = _usePlaybackContext$c2 === undefined ? false : _usePlaybackContext$c2,
|
|
@@ -3072,7 +3071,9 @@ var Viewer = function Viewer(_ref) {
|
|
|
3072
3071
|
progressSpring = _useDragProgress.progress,
|
|
3073
3072
|
dragContentBind = _useDragProgress.bind,
|
|
3074
3073
|
transitionDirection = _useDragProgress.direction;
|
|
3075
|
-
|
|
3074
|
+
|
|
3075
|
+
// console.log('isDragging', isDragging, transitionDirection);
|
|
3076
|
+
|
|
3076
3077
|
var getScreenStylesByIndex = function getScreenStylesByIndex(index, spring) {
|
|
3077
3078
|
if (transitionType === 'stack') {
|
|
3078
3079
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/viewer",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.649",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"@micromag/element-share-options": "^0.3.637",
|
|
71
71
|
"@micromag/element-webview": "^0.3.637",
|
|
72
72
|
"@micromag/elements": "^0.3.647",
|
|
73
|
-
"@micromag/intl": "^0.3.
|
|
74
|
-
"@micromag/screens": "^0.3.
|
|
73
|
+
"@micromag/intl": "^0.3.649",
|
|
74
|
+
"@micromag/screens": "^0.3.649",
|
|
75
75
|
"@react-spring/core": "^9.6.1",
|
|
76
76
|
"@react-spring/web": "^9.6.1",
|
|
77
77
|
"@use-gesture/react": "^10.3.0",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"access": "public",
|
|
93
93
|
"registry": "https://registry.npmjs.org/"
|
|
94
94
|
},
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "9f5087a75a0503179391a38dd7dcc03009198ac2"
|
|
96
96
|
}
|