Selaa lähdekoodia

Fix typo in sandbox

Gary Hsu 7 vuotta sitten
vanhempi
commit
1005a83f45
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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;
                 }
             }
         }