@antv/g-lite 1.0.44 → 1.0.45
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/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.min.js +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -11220,13 +11220,13 @@ var DefaultStyleValueRegistry = /*#__PURE__*/function () {
|
|
|
11220
11220
|
}
|
|
11221
11221
|
});
|
|
11222
11222
|
anchor = parsedStyle.anchor;
|
|
11223
|
+
geometry.dirty = false;
|
|
11223
11224
|
// set transform origin
|
|
11224
11225
|
var usedOriginXValue = (flipY ? -1 : 1) * (transformOrigin ? convertPercentUnit(transformOrigin[0], 0, object) : 0);
|
|
11225
11226
|
var usedOriginYValue = (flipX ? -1 : 1) * (transformOrigin ? convertPercentUnit(transformOrigin[1], 1, object) : 0);
|
|
11226
11227
|
usedOriginXValue = usedOriginXValue - (flipY ? -1 : 1) * (anchor && anchor[0] || 0) * geometry.contentBounds.halfExtents[0] * 2;
|
|
11227
11228
|
usedOriginYValue = usedOriginYValue - (flipX ? -1 : 1) * (anchor && anchor[1] || 0) * geometry.contentBounds.halfExtents[1] * 2;
|
|
11228
11229
|
object.setOrigin(usedOriginXValue, usedOriginYValue);
|
|
11229
|
-
geometry.dirty = false;
|
|
11230
11230
|
// console.log('calc geometry', object);
|
|
11231
11231
|
// FIXME setOrigin may have already dirtified to root.
|
|
11232
11232
|
// runtime.sceneGraphService.dirtifyToRoot(object);
|
package/dist/index.js
CHANGED
|
@@ -11220,13 +11220,13 @@ var DefaultStyleValueRegistry = /*#__PURE__*/function () {
|
|
|
11220
11220
|
}
|
|
11221
11221
|
});
|
|
11222
11222
|
anchor = parsedStyle.anchor;
|
|
11223
|
+
geometry.dirty = false;
|
|
11223
11224
|
// set transform origin
|
|
11224
11225
|
var usedOriginXValue = (flipY ? -1 : 1) * (transformOrigin ? convertPercentUnit(transformOrigin[0], 0, object) : 0);
|
|
11225
11226
|
var usedOriginYValue = (flipX ? -1 : 1) * (transformOrigin ? convertPercentUnit(transformOrigin[1], 1, object) : 0);
|
|
11226
11227
|
usedOriginXValue = usedOriginXValue - (flipY ? -1 : 1) * (anchor && anchor[0] || 0) * geometry.contentBounds.halfExtents[0] * 2;
|
|
11227
11228
|
usedOriginYValue = usedOriginYValue - (flipX ? -1 : 1) * (anchor && anchor[1] || 0) * geometry.contentBounds.halfExtents[1] * 2;
|
|
11228
11229
|
object.setOrigin(usedOriginXValue, usedOriginYValue);
|
|
11229
|
-
geometry.dirty = false;
|
|
11230
11230
|
// console.log('calc geometry', object);
|
|
11231
11231
|
// FIXME setOrigin may have already dirtified to root.
|
|
11232
11232
|
// runtime.sceneGraphService.dirtifyToRoot(object);
|
package/dist/index.umd.js
CHANGED
|
@@ -18194,13 +18194,13 @@
|
|
|
18194
18194
|
}
|
|
18195
18195
|
});
|
|
18196
18196
|
anchor = parsedStyle.anchor;
|
|
18197
|
+
geometry.dirty = false;
|
|
18197
18198
|
// set transform origin
|
|
18198
18199
|
var usedOriginXValue = (flipY ? -1 : 1) * (transformOrigin ? convertPercentUnit(transformOrigin[0], 0, object) : 0);
|
|
18199
18200
|
var usedOriginYValue = (flipX ? -1 : 1) * (transformOrigin ? convertPercentUnit(transformOrigin[1], 1, object) : 0);
|
|
18200
18201
|
usedOriginXValue = usedOriginXValue - (flipY ? -1 : 1) * (anchor && anchor[0] || 0) * geometry.contentBounds.halfExtents[0] * 2;
|
|
18201
18202
|
usedOriginYValue = usedOriginYValue - (flipX ? -1 : 1) * (anchor && anchor[1] || 0) * geometry.contentBounds.halfExtents[1] * 2;
|
|
18202
18203
|
object.setOrigin(usedOriginXValue, usedOriginYValue);
|
|
18203
|
-
geometry.dirty = false;
|
|
18204
18204
|
// console.log('calc geometry', object);
|
|
18205
18205
|
// FIXME setOrigin may have already dirtified to root.
|
|
18206
18206
|
// runtime.sceneGraphService.dirtifyToRoot(object);
|