createRenderRoot() was unconditionally reading x/y/width/height from HTML attributes, overwriting values already set via JS properties before DOM insertion. This caused all shapes to stack at (0,0) with auto dimensions on page reload. Now only reads from attributes when they exist. Also fixed eraser: hardDeleteShape() was only in the click handler which never fired because pointerdown already removed the target element. Moved Automerge deletion into the pointerdown handler. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| admin.html | ||
| canvas.html | ||
| create-space.html | ||
| index.html | ||
| shell.ts | ||
| sw.ts | ||
| test-stack.html | ||