master
Dustin Swan 3 days ago
parent 169b067050
commit c0a8d29119
Signed by: dustinswan
GPG Key ID: 30D46587E2100467

File diff suppressed because it is too large Load Diff

@ -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 = [] }
}
]
};

@ -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);

Loading…
Cancel
Save