ludic.ui: a hole's text found by its pieces in the memo (built only when it first reads that way), avals left for the attributes read as text, a class's [root] made once, and a dev build's reload lets go of every file it read only to compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
6c663cc87b
commit
ea5eedb5a5
10 changed files with 76 additions and 18 deletions
|
|
@ -58,7 +58,7 @@ function sel_has(xs: []string, x: string) -> bool {
|
|||
function sel_attr_of(n: UiNode, key: string) -> string {
|
||||
if n.akeys == null { return null }
|
||||
for i in 0 .. len(n.akeys) {
|
||||
if n.akeys[i] == key { return n.avals[i] }
|
||||
if n.akeys[i] == key { return vl_text(n.vals[i]) }
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue