|
@@ -29330,10 +29330,10 @@ var BABYLON;
|
|
var canvasRect = engine.getRenderingCanvasClientRect();
|
|
var canvasRect = engine.getRenderingCanvasClientRect();
|
|
|
|
|
|
if (_this._showUI) {
|
|
if (_this._showUI) {
|
|
- _this._statsDiv.style.right = "0";
|
|
|
|
- _this._statsDiv.style.bottom = "10px";
|
|
|
|
|
|
+ _this._statsDiv.style.left = (canvasRect.right - 310) + "px";
|
|
|
|
+ _this._statsDiv.style.top = (canvasRect.bottom - 370) + "px";
|
|
_this._statsDiv.style.width = "300px";
|
|
_this._statsDiv.style.width = "300px";
|
|
- _this._statsDiv.style.height = "auto";
|
|
|
|
|
|
+ _this._statsDiv.style.height = "360px";
|
|
_this._statsSubsetDiv.style.maxHeight = (canvasRect.height - 60) + "px";
|
|
_this._statsSubsetDiv.style.maxHeight = (canvasRect.height - 60) + "px";
|
|
|
|
|
|
_this._optionsDiv.style.left = "0px";
|
|
_this._optionsDiv.style.left = "0px";
|
|
@@ -29343,11 +29343,11 @@ var BABYLON;
|
|
_this._optionsSubsetDiv.style.maxHeight = (canvasRect.height * 0.6) + "px";
|
|
_this._optionsSubsetDiv.style.maxHeight = (canvasRect.height * 0.6) + "px";
|
|
|
|
|
|
_this._logDiv.style.left = "0px";
|
|
_this._logDiv.style.left = "0px";
|
|
- _this._logDiv.style.bottom = "10px";
|
|
|
|
|
|
+ _this._logDiv.style.top = (canvasRect.bottom - 170) + "px";
|
|
_this._logDiv.style.width = "600px";
|
|
_this._logDiv.style.width = "600px";
|
|
- _this._logDiv.style.height = "auto";
|
|
|
|
|
|
+ _this._logDiv.style.height = "160px";
|
|
|
|
|
|
- _this._treeDiv.style.right = "0px";
|
|
|
|
|
|
+ _this._treeDiv.style.left = (canvasRect.right - 310) + "px";
|
|
_this._treeDiv.style.top = "10px";
|
|
_this._treeDiv.style.top = "10px";
|
|
_this._treeDiv.style.width = "300px";
|
|
_this._treeDiv.style.width = "300px";
|
|
_this._treeDiv.style.height = "auto";
|
|
_this._treeDiv.style.height = "auto";
|
|
@@ -29355,8 +29355,6 @@ var BABYLON;
|
|
|
|
|
|
_this._globalDiv.style.left = canvasRect.left + "px";
|
|
_this._globalDiv.style.left = canvasRect.left + "px";
|
|
_this._globalDiv.style.top = canvasRect.top + "px";
|
|
_this._globalDiv.style.top = canvasRect.top + "px";
|
|
- _this._globalDiv.style.width = canvasRect.width + "px";
|
|
|
|
- _this._globalDiv.style.height = canvasRect.height + "px";
|
|
|
|
|
|
|
|
_this._drawingCanvas.style.left = "0px";
|
|
_this._drawingCanvas.style.left = "0px";
|
|
_this._drawingCanvas.style.top = "0px";
|
|
_this._drawingCanvas.style.top = "0px";
|
|
@@ -29815,7 +29813,6 @@ var BABYLON;
|
|
this._logSubsetDiv = document.createElement("div");
|
|
this._logSubsetDiv = document.createElement("div");
|
|
this._logSubsetDiv.style.paddingTop = "5px";
|
|
this._logSubsetDiv.style.paddingTop = "5px";
|
|
this._logSubsetDiv.style.overflowY = "auto";
|
|
this._logSubsetDiv.style.overflowY = "auto";
|
|
- this._logSubsetDiv.style.maxHeight = "200px";
|
|
|
|
this._logSubsetDiv.style.fontSize = "12px";
|
|
this._logSubsetDiv.style.fontSize = "12px";
|
|
this._logSubsetDiv.style.fontFamily = "consolas";
|
|
this._logSubsetDiv.style.fontFamily = "consolas";
|
|
this._logSubsetDiv.innerHTML = BABYLON.Tools.LogCache;
|
|
this._logSubsetDiv.innerHTML = BABYLON.Tools.LogCache;
|
|
@@ -29955,7 +29952,6 @@ var BABYLON;
|
|
|
|
|
|
|
|
|
|
this._globalDiv.style.position = "absolute";
|
|
this._globalDiv.style.position = "absolute";
|
|
- this._globalDiv.style.pointerEvents = "none";
|
|
|
|
this._globalDiv.appendChild(this._statsDiv);
|
|
this._globalDiv.appendChild(this._statsDiv);
|
|
this._globalDiv.appendChild(this._logDiv);
|
|
this._globalDiv.appendChild(this._logDiv);
|
|
this._globalDiv.appendChild(this._optionsDiv);
|
|
this._globalDiv.appendChild(this._optionsDiv);
|