Browse Source

Fix typo in sandbox

Gary Hsu 7 năm trước cách đây
mục cha
commit
1005a83f45
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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;
                 }
             }
         }