Update index.html
Browse files- index.html +5 -4
index.html
CHANGED
@@ -275,21 +275,21 @@
|
|
275 |
<div class="input-group">
|
276 |
<span class="input-group-text">TopColor</span>
|
277 |
<input name="topColor" type="color" class="form-control form-control-color" id="topColor"
|
278 |
-
value="#
|
279 |
</div>
|
280 |
<div class="input-group">
|
281 |
<span class="input-group-text">TopAlpha</span>
|
282 |
-
<input name="topAlpha" type="range" class="form-control form-range" id="topAlpha" value="0.
|
283 |
step="0.01" max="1">
|
284 |
</div>
|
285 |
<div class="input-group">
|
286 |
<span class="input-group-text">BtmColor</span>
|
287 |
<input name="btmColor" type="color" class="form-control form-control-color" id="btmColor"
|
288 |
-
value="#
|
289 |
</div>
|
290 |
<div class="input-group">
|
291 |
<span class="input-group-text">BtmAlpha</span>
|
292 |
-
<input name="btmAlpha" type="range" class="form-control form-range" id="btmAlpha" value="0.
|
293 |
step="0.01" max="1">
|
294 |
</div>
|
295 |
<h6>Font</h6>
|
@@ -492,6 +492,7 @@
|
|
492 |
loading.classList.add("spinner-border");
|
493 |
loading.classList.add("text-primary");
|
494 |
createEditor();
|
|
|
495 |
setTimeout(function () {
|
496 |
html2canvas(document.getElementById("edit"), {
|
497 |
scale: document.getElementById("renderScale").value,
|
|
|
275 |
<div class="input-group">
|
276 |
<span class="input-group-text">TopColor</span>
|
277 |
<input name="topColor" type="color" class="form-control form-control-color" id="topColor"
|
278 |
+
value="#000000">
|
279 |
</div>
|
280 |
<div class="input-group">
|
281 |
<span class="input-group-text">TopAlpha</span>
|
282 |
+
<input name="topAlpha" type="range" class="form-control form-range" id="topAlpha" value="0.35"
|
283 |
step="0.01" max="1">
|
284 |
</div>
|
285 |
<div class="input-group">
|
286 |
<span class="input-group-text">BtmColor</span>
|
287 |
<input name="btmColor" type="color" class="form-control form-control-color" id="btmColor"
|
288 |
+
value="#9999EE">
|
289 |
</div>
|
290 |
<div class="input-group">
|
291 |
<span class="input-group-text">BtmAlpha</span>
|
292 |
+
<input name="btmAlpha" type="range" class="form-control form-range" id="btmAlpha" value="0.45"
|
293 |
step="0.01" max="1">
|
294 |
</div>
|
295 |
<h6>Font</h6>
|
|
|
492 |
loading.classList.add("spinner-border");
|
493 |
loading.classList.add("text-primary");
|
494 |
createEditor();
|
495 |
+
window.scrollTo(0, 0);
|
496 |
setTimeout(function () {
|
497 |
html2canvas(document.getElementById("edit"), {
|
498 |
scale: document.getElementById("renderScale").value,
|