aaAAaaAAa
This commit is contained in:
parent
2468802869
commit
490be6a5ce
8
h2i.html
8
h2i.html
@ -92,7 +92,7 @@
|
|||||||
/* darkmode */
|
/* darkmode */
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
:root {
|
:root {
|
||||||
--bg: #000000;
|
--bg: #000000 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@ -155,7 +155,11 @@
|
|||||||
|
|
||||||
ctx.font = fsize.value + "px heonian";
|
ctx.font = fsize.value + "px heonian";
|
||||||
ctx.fillText(hinput.value, 0, fsize.value);
|
ctx.fillText(hinput.value, 0, fsize.value);
|
||||||
cropToContent();
|
if (hinput.value.length > 0) {
|
||||||
|
cropToContent();
|
||||||
|
} else {
|
||||||
|
img.src = '';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let ime = new HeonianIME(hinput);
|
let ime = new HeonianIME(hinput);
|
||||||
|
Loading…
Reference in New Issue
Block a user