Explorar o código

Fix typo in sandbox

Gary Hsu %!s(int64=7) %!d(string=hai) anos
pai
achega
1005a83f45
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      sandbox/index.js

+ 2 - 2
sandbox/index.js

@@ -313,9 +313,9 @@ if (BABYLON.Engine.isSupported()) {
             else {
                 footer.style.display = "none";
                 errorZone.style.display = "none";
-                if (enableDebugLayer) {
+                if (debugLayerEnabled) {
                     currentScene.debugLayer.hide();
-                    enableDebugLayer = false;
+                    debugLayerEnabled = false;
                 }
             }
         }