babylonjs-gui 5.43.0 → 5.43.1
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 +5 -0
- package/babylon.gui.js +22 -2
- package/babylon.gui.js.map +1 -1
- package/babylon.gui.min.js +1 -1
- package/babylon.gui.min.js.map +1 -1
- package/babylon.gui.module.d.ts +10 -0
- package/package.json +2 -2
package/babylon.gui.module.d.ts
CHANGED
@@ -2169,9 +2169,14 @@ export class Image extends Control {
|
|
2169
2169
|
private _populateNinePatchSlicesFromImage;
|
2170
2170
|
private _detectPointerOnOpaqueOnly;
|
2171
2171
|
private _imageDataCache;
|
2172
|
+
/**
|
2173
|
+
* Cache of images to avoid loading the same image multiple times
|
2174
|
+
*/
|
2172
2175
|
static SourceImgCache: Map<string, {
|
2173
2176
|
img: IImage;
|
2174
2177
|
timesUsed: number;
|
2178
|
+
loaded: boolean;
|
2179
|
+
waitingForLoadCallback: Array<() => void>;
|
2175
2180
|
}>;
|
2176
2181
|
/**
|
2177
2182
|
* Observable notified when the content is loaded
|
@@ -10548,9 +10553,14 @@ declare module BABYLON.GUI {
|
|
10548
10553
|
private _populateNinePatchSlicesFromImage;
|
10549
10554
|
private _detectPointerOnOpaqueOnly;
|
10550
10555
|
private _imageDataCache;
|
10556
|
+
/**
|
10557
|
+
* Cache of images to avoid loading the same image multiple times
|
10558
|
+
*/
|
10551
10559
|
static SourceImgCache: Map<string, {
|
10552
10560
|
img: BABYLON.IImage;
|
10553
10561
|
timesUsed: number;
|
10562
|
+
loaded: boolean;
|
10563
|
+
waitingForLoadCallback: Array<() => void>;
|
10554
10564
|
}>;
|
10555
10565
|
/**
|
10556
10566
|
* BABYLON.Observable notified when the content is loaded
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "babylonjs-gui",
|
3
|
-
"version": "5.43.
|
3
|
+
"version": "5.43.1",
|
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.43.
|
17
|
+
"babylonjs": "^5.43.1"
|
18
18
|
},
|
19
19
|
"devDependencies": {
|
20
20
|
"@dev/build-tools": "1.0.0",
|