mirror of
https://bjh21.me.uk/bedstead/.git
synced 2026-07-09 13:33:06 -04:00
webstead: reset form at start of from_c()
That way we don't get fragments of the old glyph if it stops early.
This commit is contained in:
parent
4d3b7ecc4c
commit
212db5dd91
@ -77,6 +77,7 @@
|
||||
}
|
||||
function from_c(c) {
|
||||
re = /[0-7]+/g;
|
||||
document.querySelector('#inpane').reset();
|
||||
for (row of document.querySelector('#pixels').rows) {
|
||||
match = re.exec(c);
|
||||
if (match == null) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user