Browse Source

Fix android Sandbox

sebastien 7 năm trước cách đây
mục cha
commit
9d822be007
2 tập tin đã thay đổi với 5 bổ sung3 xóa
  1. 2 1
      sandbox/index-local.html
  2. 3 2
      sandbox/index.html

+ 2 - 1
sandbox/index-local.html

@@ -1,7 +1,8 @@
 <!DOCTYPE html>
-<html>
+<html xmlns="http://www.w3.org/1999/xhtml"></html>
 <head>
     <title>BabylonJS - Sandbox</title>
+    <meta name="viewport" content="width=device-width, user-scalable=no">
     <link href="index.css" rel="stylesheet" />
     <script src="../dist/preview%20release/cannon.js"></script>
     <script src="../dist/preview%20release/Oimo.js"></script>

+ 3 - 2
sandbox/index.html

@@ -1,8 +1,9 @@
 <!DOCTYPE html>
-<html>
-
+<html xmlns="http://www.w3.org/1999/xhtml"></html>
 <head>
     <title>BabylonJS - Sandbox</title>
+    <meta name="viewport" content="width=device-width, user-scalable=no">
+
     <link rel="shortcut icon" href="http://www.babylonjs.com/img/favicon/favicon.ico">
     <link rel="apple-touch-icon" sizes="57x57" href="http://www.babylonjs.com/img/favicon/apple-icon-57x57.png">
     <link rel="apple-touch-icon" sizes="60x60" href="http://www.babylonjs.com/img/favicon/apple-icon-60x60.png">