mirror of
https://github.com/andre482/O-tie.git
synced 2026-07-22 07:44:11 +00:00
- Inline edit: add one-shot guard so Enter commits once (no duplicate undo/render) and Escape reliably cancels instead of saving via blur. - validateBowtie: normalize threats/consequences missing barrier arrays or labels instead of throwing and flagging recoverable files as malformed. - deserializeBowtie: sanitize and clamp view zoom/pan to avoid an invisible canvas and Infinity divide during export. - Add shared sanitizeBaseName: strip control/leading/trailing dot chars, reject bare dot names, and escape Windows reserved names; reuse for new file and PNG export names. - Add model tests for the above. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|---|---|---|
| .. | ||
| layout.test.ts | ||
| model.test.ts | ||
| panZoom.test.ts | ||