Commit Graph
4 Commits
Author SHA1 Message Date
Austin Mroz 891a55db6d widget selection, collapse allignment, video style
Mouse selection of individual widgets now correctly applies for nodes
which do not contain a domWidget and therefore lack a y attribute

The collapse button has been migrated to use a monospace font for the +
and minus characters to ensure a change in state doesn't cause a change
in character alignment. The js code has been update to account for this
change

Basic styling has been applied for embedded videos. A play and pause
option are provided, but the mute and fullscreen buttons are hidden.
This functionality is tied to a class applied by documentation.py and
can easily be removed if a video embed is used for more advanced
information (a tutorial) instead of just quick demonstrations or output.
2024-09-22 04:06:20 -05:00
Austin Mroz 71516bc4e8 Update hiding logic, reduce reflows.
On collapse, hiding is no longer done b setting a cutoff height. This
ensures that portions of elements don't get displayed incorrectly and
that no amount of local font size configuration can cause lines to
incorrectly show.

Additional fixes (such as having the scroll bar always display) have
been introduced to prevent reflows from occuring which would move the
element from underneath the cursor

If there is a large amount of documentation and not everything
collapses, the selected element (from mouseover)) is now scrolled to
ensure it and it's children are visible
2024-08-11 16:57:01 -05:00
Austin Mroz 8131b8d598 Update documentation with fixes from VHS 2024-08-09 16:31:21 -05:00
Austin Mroz a3f1e38dc8 Add js code to add documentation to nodes
Update autosize code to ensure it applies after node sizing is updated
to respect the added question mark
2024-08-04 03:57:27 -05:00