waveterm/frontend/app/view/webview
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
..
webview.less rearrange view files into directories 2024-08-01 13:06:18 -07:00
webview.tsx Fix infinite loop in layoutAtom, improve iconbutton disable code (#306) 2024-09-03 11:24:45 -07:00