Compare commits
1 Commits
0025772177
...
dynamic-la
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
89ef014c98 |
@@ -192,7 +192,8 @@ pub fn render_generic(
|
||||
let parent =
|
||||
render_into
|
||||
|> renders.box(cx, cy, width, height)
|
||||
|> renders.text(node.content, cx, cy)
|
||||
// + 2 for header margin
|
||||
|> renders.text(node.content, cx + 2, cy)
|
||||
|
||||
list.index_map(node.children, fn(child, i) { #(i, child) })
|
||||
|> list.fold(parent, fn(acc_into, ic) {
|
||||
|
||||
Reference in New Issue
Block a user