Prune dead code, tighten interval, add screenshot

Code related to possible options has been pruned. It was pointless for
updateNode to take a node as input. Collapsing documentation items does
not make sense given the greater space of a sidebar tab compared to a
floating window on the graph, so the corresponding code has been fully
pruned as well.

The topmost node is used instead of the current_node. While current_node
displayed the desired properties when canvas was still shallowReactive
of notifying a change in node, it's not intended to be used external to
litegraph and at best, tracks the topmost visible node instead of the
actual topmost node.

A test expectation screenshot has been added for verifying theming works
for the documentation tab.
This commit is contained in:
Austin Mroz
2024-11-28 10:45:23 -06:00
parent 89027ea969
commit 867c50f7cb
2 changed files with 11 additions and 46 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB