|
@@ -5,7 +5,7 @@
|
5
|
5
|
* https://github.com/alemart/encantar-js
|
6
|
6
|
*
|
7
|
7
|
* @license LGPL-3.0-or-later
|
8
|
|
- * Date: 2024-08-15T23:42:41.661Z
|
|
8
|
+ * Date: 2024-09-02T19:15:04.498Z
|
9
|
9
|
*/
|
10
|
10
|
(function webpackUniversalModuleDefinition(root, factory) {
|
11
|
11
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
@@ -20031,7 +20031,7 @@ class StatsPanel {
|
20031
|
20031
|
title.style.fontWeight = 'bold';
|
20032
|
20032
|
title.style.padding = '2px';
|
20033
|
20033
|
title.innerHTML = '✨';
|
20034
|
|
- title.innerText += 'encantAR.js ' + AR.version;
|
|
20034
|
+ title.innerText += 'encantar.js ' + AR.version;
|
20035
|
20035
|
return title;
|
20036
|
20036
|
}
|
20037
|
20037
|
/**
|
|
@@ -25432,8 +25432,8 @@ class ViewportContainers {
|
25432
|
25432
|
* Release
|
25433
|
25433
|
*/
|
25434
|
25434
|
release() {
|
25435
|
|
- this._container.style.backgroundColor = 'initial';
|
25436
|
|
- this._container.style.touchAction = 'auto';
|
|
25435
|
+ this._container.style.removeProperty('background-color');
|
|
25436
|
+ this._container.style.removeProperty('touch-action');
|
25437
|
25437
|
}
|
25438
|
25438
|
}
|
25439
|
25439
|
/**
|
|
@@ -25454,6 +25454,8 @@ class ViewportCanvases {
|
25454
|
25454
|
this._backgroundCanvas = this._styleCanvas(this._createCanvas(initialSize), BACKGROUND_ZINDEX);
|
25455
|
25455
|
parent.appendChild(this._backgroundCanvas);
|
25456
|
25456
|
parent.appendChild(this._foregroundCanvas);
|
|
25457
|
+ this._backgroundCanvas.hidden = true;
|
|
25458
|
+ this._foregroundCanvas.hidden = true;
|
25457
|
25459
|
}
|
25458
|
25460
|
/**
|
25459
|
25461
|
* The background canvas
|
|
@@ -25471,6 +25473,8 @@ class ViewportCanvases {
|
25471
|
25473
|
* Initialize
|
25472
|
25474
|
*/
|
25473
|
25475
|
init() {
|
|
25476
|
+ this._backgroundCanvas.hidden = false;
|
|
25477
|
+ this._foregroundCanvas.hidden = false;
|
25474
|
25478
|
}
|
25475
|
25479
|
/**
|
25476
|
25480
|
* Release
|