muu with zero state

This commit is contained in:
2026-02-27 09:40:07 +03:00
parent 79231a0dfb
commit 1a9b8bd7e9
3 changed files with 41 additions and 1 deletions

View File

@ -160,9 +160,15 @@ function genTables() {
i++
break
case '\\':
value += gen[i + 1]
i += 2
break
case '$':
const args_end = gen.indexOf('$', i + 1)
const args = gen.slice(i + 1, args_end).split(',')
switch (args[0]) {
case 'C':
dot.colSpan = +args[1]
@ -177,6 +183,7 @@ function genTables() {
'r': 'lightcoral',
'g': 'lightgreen',
'b': 'lightblue',
'B': 'black',
}[args[1]] ?? 'white'
break
}