redhotmagma-visualization 1.57.2 → 1.57.3
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.
|
@@ -161,6 +161,7 @@ export var VisualizationContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
161
161
|
this.mutationObserver.observe(alignTargetElement, {
|
|
162
162
|
attributes: true
|
|
163
163
|
});
|
|
164
|
+
this.doAlignment(options);
|
|
164
165
|
}
|
|
165
166
|
if (didBoundingRectChange(alignTargetElement)) {
|
|
166
167
|
this.doAlignment(options);
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "redhotmagma-visualization",
|
|
3
|
-
"version": "1.57.
|
|
3
|
+
"version": "1.57.3",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@babel/polyfill": "^7.12.1",
|
|
9
|
-
"@configuratorware/scripts": "1.57.
|
|
9
|
+
"@configuratorware/scripts": "1.57.3",
|
|
10
10
|
"@tweenjs/tween.js": "^17.6.0",
|
|
11
11
|
"console-polyfill": "^0.3.0",
|
|
12
12
|
"css-element-queries": "^1.2.3",
|
|
@@ -117,6 +117,7 @@ export class VisualizationContainer extends React.Component {
|
|
|
117
117
|
});
|
|
118
118
|
// do the update only when attributes have changed (e.g. style)
|
|
119
119
|
this.mutationObserver.observe(alignTargetElement, { attributes: true });
|
|
120
|
+
this.doAlignment(options);
|
|
120
121
|
}
|
|
121
122
|
if (didBoundingRectChange(alignTargetElement)) {
|
|
122
123
|
this.doAlignment(options);
|