Pārlūkot izejas kodu

Fix typo in sandbox

Gary Hsu 7 gadi atpakaļ
vecāks
revīzija
1005a83f45
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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;
                 }
             }
         }