@antv/g-lite 2.2.3 → 2.2.4
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.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @antv/g-lite
|
|
3
3
|
* @description A core module for rendering engine implements DOM API.
|
|
4
|
-
* @version 2.2.
|
|
5
|
-
* @date 11/
|
|
4
|
+
* @version 2.2.4
|
|
5
|
+
* @date 11/15/2024, 6:16:33 AM
|
|
6
6
|
* @author AntVis
|
|
7
7
|
* @docs https://g.antv.antgroup.com/
|
|
8
8
|
*/
|
|
@@ -12481,15 +12481,9 @@ var DisplayObject = /*#__PURE__*/function (_Element) {
|
|
|
12481
12481
|
clonedStyle[attributeName] = customCloneFunc(attributeName, attribute);
|
|
12482
12482
|
}
|
|
12483
12483
|
}
|
|
12484
|
-
var cloned = new this.constructor({
|
|
12485
|
-
// copy id & name
|
|
12486
|
-
// @see https://developer.mozilla.org/en-US/docs/Web/API/Node/cloneNode#notes
|
|
12487
|
-
id: this.id,
|
|
12488
|
-
name: this.name,
|
|
12489
|
-
className: this.name,
|
|
12490
|
-
interactive: this.interactive,
|
|
12484
|
+
var cloned = new this.constructor(_objectSpread(_objectSpread({}, this.config), {}, {
|
|
12491
12485
|
style: clonedStyle
|
|
12492
|
-
});
|
|
12486
|
+
}));
|
|
12493
12487
|
|
|
12494
12488
|
// apply transform
|
|
12495
12489
|
cloned.setLocalTransform(this.getLocalTransform());
|