Spaces:
Running
Running
Commit ·
7804c58
1
Parent(s): 35ea43c
Upload 17 files
Browse files- index.html +3 -3
index.html
CHANGED
|
@@ -9,7 +9,7 @@
|
|
| 9 |
</head>
|
| 10 |
<body>
|
| 11 |
<div id="unity-container" class="unity-desktop">
|
| 12 |
-
<canvas id="unity-canvas" width=
|
| 13 |
<div id="unity-loading-bar">
|
| 14 |
<div id="unity-logo"></div>
|
| 15 |
<div id="unity-progress-bar-empty">
|
|
@@ -98,8 +98,8 @@
|
|
| 98 |
|
| 99 |
} else {
|
| 100 |
// Desktop style: Render the game canvas in a window that can be maximized to fullscreen:
|
| 101 |
-
canvas.style.width = "
|
| 102 |
-
canvas.style.height = "
|
| 103 |
}
|
| 104 |
|
| 105 |
document.querySelector("#unity-loading-bar").style.display = "block";
|
|
|
|
| 9 |
</head>
|
| 10 |
<body>
|
| 11 |
<div id="unity-container" class="unity-desktop">
|
| 12 |
+
<canvas id="unity-canvas" width=1280 height=720 tabindex="-1"></canvas>
|
| 13 |
<div id="unity-loading-bar">
|
| 14 |
<div id="unity-logo"></div>
|
| 15 |
<div id="unity-progress-bar-empty">
|
|
|
|
| 98 |
|
| 99 |
} else {
|
| 100 |
// Desktop style: Render the game canvas in a window that can be maximized to fullscreen:
|
| 101 |
+
canvas.style.width = "1280px";
|
| 102 |
+
canvas.style.height = "720px";
|
| 103 |
}
|
| 104 |
|
| 105 |
document.querySelector("#unity-loading-bar").style.display = "block";
|