waveterm/pkg/waveobj
Evan Simkowitz 164afeeb66
Unified node model to pass data from layout to blocks (#259)
This adds a new NodeModel, which can be passed from the TileLayout to
contained blocks. It contains all the layout data that the block should
care about, including focus status, whether a drag operation is
underway, whether the node is magnified, etc.

This also adds a focus stack for the layout, which will let the focus
switch to the last-focused node when the currently-focused one is
closed.

This also addresses a regression in the resize handles that caused them
to be offset from the cursor when dragged.

---------

Co-authored-by: sawka <mike.sawka@gmail.com>
2024-08-26 11:56:00 -07:00
..
ctxupdate.go wsh edit working (#252) 2024-08-20 14:56:48 -07:00
metamap.go metadata updates (frontend typing) (#174) 2024-07-30 12:33:28 -07:00
waveobj.go metadata updates (frontend typing) (#174) 2024-07-30 12:33:28 -07:00
wtype.go Unified node model to pass data from layout to blocks (#259) 2024-08-26 11:56:00 -07:00
wtypemeta.go wsh edit working (#252) 2024-08-20 14:56:48 -07:00