waveterm/frontend/layout
Evan Simkowitz 383a71fc25
Fix infinite loop in layoutAtom, improve iconbutton disable code (#306)
Fixes an infinite loop in the layoutModel atom synchronization that
would cause the atom to update indefinitely when the root node is
deleted.

Also adds a dedicated `disabled` flag for the IconButton decl so we can
disable the onClick handler when the button is disabled.

Also updates the Magnify toggle button to use this new flag, so that
when there's only one leaf in a layout, the magnify button is disabed.
2024-09-03 11:24:45 -07:00
..
lib Fix infinite loop in layoutAtom, improve iconbutton disable code (#306) 2024-09-03 11:24:45 -07:00
tests remove .js from imports 2024-08-26 16:37:05 -07:00
index.ts Fix block content sizing (#280) 2024-08-27 13:41:36 -07:00