This commit is contained in:
Dustin Swan 2026-02-24 17:20:12 -07:00
parent 169b067050
commit c0a8d29119
No known key found for this signature in database
GPG key ID: 30D46587E2100467
3 changed files with 5107 additions and 3 deletions

File diff suppressed because it is too large Load diff

View file

@ -84,7 +84,7 @@ fontEditor = config \
h = headerHeight,
key = "new-glyph-button",
label = "New Glyph",
onSubmit = key \ rebindAt [...c.path, "glyphs", key] { w = 7, h = 12, map = [] }
onSubmit = key \ rebindAt [...c.path, "glyphs", key] { w = 5, h = 12, map = [] }
}
]
};

View file

@ -54,7 +54,8 @@ treeNode = config \
simple = path content color onClick \
selected = (config.selectedPath | Some p \ p == path | None \ False);
inner = ui.text { content = content, color = (selected | True \ "white" | False \ color) };
# inner = ui.text { content = content, color = (selected | True \ "white" | False \ color) };
inner = renderText { scale = 1, content = content, color = (selected | True \ "white" | False \ color) };
wrapped = (onClick
| Some handler \ ui.clickable { onClick = handler, child = inner }
| None \ inner);