babylonjs-gui 7.3.2 → 7.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1001,8 +1001,9 @@ export class Container extends Control {
1001
1001
  * Serializes the current control
1002
1002
  * @param serializationObject defined the JSON serialized object
1003
1003
  * @param force force serialization even if isSerializable === false
1004
+ * @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize (true by default)
1004
1005
  */
1005
- serialize(serializationObject: any, force?: boolean): void;
1006
+ serialize(serializationObject: any, force?: boolean, allowCanvas?: boolean): void;
1006
1007
  /** Releases associated resources */
1007
1008
  dispose(): void;
1008
1009
  /**
@@ -9800,8 +9801,9 @@ declare module BABYLON.GUI {
9800
9801
  * Serializes the current control
9801
9802
  * @param serializationObject defined the JSON serialized object
9802
9803
  * @param force force serialization even if isSerializable === false
9804
+ * @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize (true by default)
9803
9805
  */
9804
- serialize(serializationObject: any, force?: boolean): void;
9806
+ serialize(serializationObject: any, force?: boolean, allowCanvas?: boolean): void;
9805
9807
  /** Releases associated resources */
9806
9808
  dispose(): void;
9807
9809
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-gui",
3
- "version": "7.3.2",
3
+ "version": "7.3.3",
4
4
  "main": "babylon.gui.js",
5
5
  "types": "babylon.gui.module.d.ts",
6
6
  "files": [
@@ -15,7 +15,7 @@
15
15
  "test:escheck": "es-check es6 ./babylon.gui.js"
16
16
  },
17
17
  "dependencies": {
18
- "babylonjs": "^7.3.2"
18
+ "babylonjs": "^7.3.3"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@dev/build-tools": "1.0.0",