You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
v0.36.0
@kanzo-tech/ui
useDebouncedCommit gets cancel().
It drops a pending edit without committing it.
The control keeps showing what was typed until the owner's value changes.
When your own write supersedes the draft (a save that replaces the field being typed in), call cancel() and then write once. Calling flush() and then writing a second time depends on the two writes landing in order.
@kanzo-tech/graph
A camera following a large layout no longer holds the page's main thread on software WebGL.
Each re-frame reads every position back from the GPU synchronously.
On SwiftShader, headless Chromium's fallback, each read at 206,629 vertices stalled the page for about two seconds. Asked for every 900 ms, the reads left the page about 1% of its main thread, so DuckDB-WASM replies and anything else on the page waited behind them.
The camera now waits ten times its last stall before the next re-frame. On a GPU that is still 900 ms, as before.
Nothing to change in your code.
What is in full colour is now one rule, shared by the canvas's colours, frame() and the toolbar.
A picked id the canvas does not draw is no longer counted or framed.