babylonjs-gui 5.45.1 → 5.46.0

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/babylon.gui.d.ts CHANGED
@@ -439,7 +439,7 @@ declare module BABYLON.GUI {
439
439
  * @param scaleToSize defines whether to scale to texture to the saved size
440
440
  * @deprecated Please use parseSerializedObject instead
441
441
  */
442
- parseContent: (serializedObject: any, scaleToSize?: boolean | undefined) => void;
442
+ parseContent: (serializedObject: any, scaleToSize?: boolean) => void;
443
443
  /**
444
444
  * Recreate the content of the ADT from a snippet saved by the GUI editor
445
445
  * @param snippetId defines the snippet to load
@@ -458,7 +458,7 @@ export class AdvancedDynamicTexture extends DynamicTexture {
458
458
  * @param scaleToSize defines whether to scale to texture to the saved size
459
459
  * @deprecated Please use parseSerializedObject instead
460
460
  */
461
- parseContent: (serializedObject: any, scaleToSize?: boolean | undefined) => void;
461
+ parseContent: (serializedObject: any, scaleToSize?: boolean) => void;
462
462
  /**
463
463
  * Recreate the content of the ADT from a snippet saved by the GUI editor
464
464
  * @param snippetId defines the snippet to load
@@ -9153,7 +9153,7 @@ declare module BABYLON.GUI {
9153
9153
  * @param scaleToSize defines whether to scale to texture to the saved size
9154
9154
  * @deprecated Please use parseSerializedObject instead
9155
9155
  */
9156
- parseContent: (serializedObject: any, scaleToSize?: boolean | undefined) => void;
9156
+ parseContent: (serializedObject: any, scaleToSize?: boolean) => void;
9157
9157
  /**
9158
9158
  * Recreate the content of the ADT from a snippet saved by the GUI editor
9159
9159
  * @param snippetId defines the snippet to load
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-gui",
3
- "version": "5.45.1",
3
+ "version": "5.46.0",
4
4
  "main": "babylon.gui.js",
5
5
  "types": "babylon.gui.module.d.ts",
6
6
  "files": [
@@ -14,7 +14,7 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.*"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^5.45.1"
17
+ "babylonjs": "^5.46.0"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@dev/build-tools": "1.0.0",