Browse Source

Add div canvasZone

This will allow additional Playground apps to run when unzipping the
results of "Get .zip" button locally. An example is app
[this](http://www.babylonjs-playground.com/#1MOTR8#1) which was mentioned
in [this forum thread](http://www.html5gamedevs.com/topic/19117-how-to-set-scene-background-transparent/).
Wink Saville 8 years ago
parent
commit
67d039ce99
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Playground/zipContent/index.html

+ 3 - 1
Playground/zipContent/index.html

@@ -26,7 +26,9 @@
         </style>
     </head>
 <body>
-    <canvas id="renderCanvas"></canvas>
+    <div id="canvasZone">
+        <canvas id="renderCanvas"></canvas>
+    </div>
     <script>
         var canvas = document.getElementById("renderCanvas");
         var engine = new BABYLON.Engine(canvas, true);