Procházet zdrojové kódy

Fix typo in sandbox

Gary Hsu před 7 roky
rodič
revize
1005a83f45
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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;
                 }
             }
         }