Update index.html
Browse files- index.html +0 -14
index.html
CHANGED
@@ -101,16 +101,6 @@
|
|
101 |
position: relative;
|
102 |
}
|
103 |
|
104 |
-
.caption {
|
105 |
-
color: white;
|
106 |
-
position: absolute;
|
107 |
-
top: 0px;
|
108 |
-
right: 0px;
|
109 |
-
font-size: xx-large;
|
110 |
-
font-weight: bold;
|
111 |
-
/*-webkit-text-stroke: 1px black;*/
|
112 |
-
}
|
113 |
-
|
114 |
#controller {
|
115 |
list-style-type: none;
|
116 |
z-index: 32768;
|
@@ -311,10 +301,6 @@
|
|
311 |
}).then(canvas => {
|
312 |
result.textContent = "";
|
313 |
result.appendChild(canvas);
|
314 |
-
let caption = document.createElement("span");
|
315 |
-
caption.classList.add("caption");
|
316 |
-
caption.textContent = "Rendered";
|
317 |
-
result.appendChild(caption);
|
318 |
let scale = Math.min.apply(null, [window.document.documentElement.clientWidth / width, window.document.documentElement.clientHeight / height, 1])
|
319 |
canvas.style.transform = "scale(" + scale + ")";
|
320 |
});
|
|
|
101 |
position: relative;
|
102 |
}
|
103 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
#controller {
|
105 |
list-style-type: none;
|
106 |
z-index: 32768;
|
|
|
301 |
}).then(canvas => {
|
302 |
result.textContent = "";
|
303 |
result.appendChild(canvas);
|
|
|
|
|
|
|
|
|
304 |
let scale = Math.min.apply(null, [window.document.documentElement.clientWidth / width, window.document.documentElement.clientHeight / height, 1])
|
305 |
canvas.style.transform = "scale(" + scale + ")";
|
306 |
});
|