summaryrefslogtreecommitdiff
path: root/apps/web/src/preview/components/index.tsx
Commit message (Collapse)AuthorAgeFilesLines
* fix: keep GPU effect previews from clobbering the preview canvascashmere2026-08-081-0/+9
| | | | | | | | | | | | | | | | On the WebGL backend wgpu can only present to the single canvas its GL context is bound to, which is also the compositor's output canvas. The effect tile previews (and mask feather) rendered through that canvas and resized it behind the compositor's back, leaving the main preview showing the preview image stretched until a full reload. TS side (works with the published wasm): after every applyEffectPasses/ applyMaskFeather call the gpu renderer restores the canvas size, using a one-pixel intermediate resize to force a surface reconfigure, then notifies the preview component to re-render the current frame. Rust side (next wasm publish): the GL canvas detour saves and restores the canvas size, and resizeCompositor always reconfigures the surface.
* chore: switch from biome to eslint + prettier; fix ton of lint issuesMaze Winther2026-05-021-10/+16
|
* perf: improve rendering performance by ~20xMaze Winther2026-04-221-43/+57
|
* refactor: restructure files to their domains, new preview overlay system, ↵Maze Winther2026-04-201-0/+328
and dep graph