aboutsummaryrefslogtreecommitdiffstats
path: root/gui/widget/tree.go
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-05-12 17:14:30 -0400
committerSam Anthony <sam@samanthony.xyz>2024-05-12 17:14:30 -0400
commit61a63fec579f88766c6be0d392bb4eaed3b8564a (patch)
tree8f5645e06b737035623599a86767f17035b1fa68 /gui/widget/tree.go
parentc0dc325c1b599719172590d36d8702d31b49c18d (diff)
downloadvolute-61a63fec579f88766c6be0d392bb4eaed3b8564a.zip
button widget
Diffstat (limited to 'gui/widget/tree.go')
-rw-r--r--gui/widget/tree.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/gui/widget/tree.go b/gui/widget/tree.go
index 9e4af13..ff4d139 100644
--- a/gui/widget/tree.go
+++ b/gui/widget/tree.go
@@ -54,7 +54,6 @@ func flatten[T any](root Node[T], depth int) []string {
make([]rune, depth),
'─'))
nodes := []string{indent + root.Label}
- root.expanded = true // TODO: remove me
if root.expanded {
for _, c := range root.Children {
nodes = append(nodes, flatten(c, depth+1)...)