babylonjs-gui 7.3.1 → 7.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1842,8 +1842,9 @@ export class Control implements IAnimatable {
1842
1842
  * Serializes the current control
1843
1843
  * @param serializationObject defined the JSON serialized object
1844
1844
  * @param force if the control should be serialized even if the isSerializable flag is set to false (default false)
1845
+ * @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize (true by default)
1845
1846
  */
1846
- serialize(serializationObject: any, force?: boolean): void;
1847
+ serialize(serializationObject: any, force?: boolean, allowCanvas?: boolean): void;
1847
1848
  /**
1848
1849
  * @internal
1849
1850
  */
@@ -10622,8 +10623,9 @@ declare module BABYLON.GUI {
10622
10623
  * Serializes the current control
10623
10624
  * @param serializationObject defined the JSON serialized object
10624
10625
  * @param force if the control should be serialized even if the isSerializable flag is set to false (default false)
10626
+ * @param allowCanvas defines if the control is allowed to use a Canvas2D object to serialize (true by default)
10625
10627
  */
10626
- serialize(serializationObject: any, force?: boolean): void;
10628
+ serialize(serializationObject: any, force?: boolean, allowCanvas?: boolean): void;
10627
10629
  /**
10628
10630
  * @internal
10629
10631
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-gui",
3
- "version": "7.3.1",
3
+ "version": "7.3.2",
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.1"
18
+ "babylonjs": "^7.3.2"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@dev/build-tools": "1.0.0",