babylonjs-gui 6.13.0 → 6.14.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.js +4 -4
- package/babylon.gui.js.map +1 -1
- package/babylon.gui.min.js +1 -1
- package/babylon.gui.min.js.map +1 -1
- package/package.json +2 -2
package/babylon.gui.js
CHANGED
@@ -19367,7 +19367,7 @@ var TouchHolographicButton = /** @class */ (function (_super) {
|
|
19367
19367
|
TouchHolographicButton.prototype._alignContentVertically = function () {
|
19368
19368
|
var panel = new _2D_controls_stackPanel__WEBPACK_IMPORTED_MODULE_10__.StackPanel();
|
19369
19369
|
panel.isVertical = true;
|
19370
|
-
if (babylonjs_Animations_animation__WEBPACK_IMPORTED_MODULE_1__.
|
19370
|
+
if ((0,babylonjs_Animations_animation__WEBPACK_IMPORTED_MODULE_1__.IsDocumentAvailable)() && !!document.createElement) {
|
19371
19371
|
if (this._imageUrl) {
|
19372
19372
|
var image = new _2D_controls_image__WEBPACK_IMPORTED_MODULE_4__.Image();
|
19373
19373
|
image.source = this._imageUrl;
|
@@ -19400,7 +19400,7 @@ var TouchHolographicButton = /** @class */ (function (_super) {
|
|
19400
19400
|
var panel = new _2D_controls_stackPanel__WEBPACK_IMPORTED_MODULE_10__.StackPanel();
|
19401
19401
|
panel.isVertical = false;
|
19402
19402
|
panel.scaleY = this._getAspectRatio();
|
19403
|
-
if (babylonjs_Animations_animation__WEBPACK_IMPORTED_MODULE_1__.
|
19403
|
+
if ((0,babylonjs_Animations_animation__WEBPACK_IMPORTED_MODULE_1__.IsDocumentAvailable)() && !!document.createElement) {
|
19404
19404
|
if (this._imageUrl) {
|
19405
19405
|
var imageContainer = new _2D_controls_rectangle__WEBPACK_IMPORTED_MODULE_9__.Rectangle("".concat(this.name, "_image"));
|
19406
19406
|
imageContainer.widthInPixels = this.imageSizeInPixels;
|
@@ -21276,7 +21276,7 @@ var HolographicButton = /** @class */ (function (_super) {
|
|
21276
21276
|
this._disposeFacadeTexture();
|
21277
21277
|
var panel = new _2D_controls_stackPanel__WEBPACK_IMPORTED_MODULE_3__.StackPanel();
|
21278
21278
|
panel.isVertical = true;
|
21279
|
-
if (babylonjs_Maths_math_vector__WEBPACK_IMPORTED_MODULE_1__.
|
21279
|
+
if ((0,babylonjs_Maths_math_vector__WEBPACK_IMPORTED_MODULE_1__.IsDocumentAvailable)() && !!document.createElement) {
|
21280
21280
|
if (this._imageUrl) {
|
21281
21281
|
var image = new _2D_controls_image__WEBPACK_IMPORTED_MODULE_4__.Image();
|
21282
21282
|
image.source = this._imageUrl;
|
@@ -23393,7 +23393,7 @@ var TouchHolographicButton = /** @class */ (function (_super) {
|
|
23393
23393
|
this._disposeFacadeTexture();
|
23394
23394
|
var panel = new _2D_controls_stackPanel__WEBPACK_IMPORTED_MODULE_3__.StackPanel();
|
23395
23395
|
panel.isVertical = true;
|
23396
|
-
if (babylonjs_Maths_math_vector__WEBPACK_IMPORTED_MODULE_0__.
|
23396
|
+
if ((0,babylonjs_Maths_math_vector__WEBPACK_IMPORTED_MODULE_0__.IsDocumentAvailable)() && !!document.createElement) {
|
23397
23397
|
if (this._imageUrl) {
|
23398
23398
|
var image = new _2D_controls_image__WEBPACK_IMPORTED_MODULE_4__.Image();
|
23399
23399
|
image.source = this._imageUrl;
|