I could also remove `if (node.isExpanded) expanded...
# tornadofx
r
I could also remove
if (node.isExpanded) expandedPane = node
and instead add
Copy code
if (parent is Accordion && node is TitledPane && node.isExpanded) parent.expandedPane = node
to
opcr
after the op is invoked, but that feels hackish.