chore(editor): rev 4 leftovers: closeTrace returns nothing, doc reflow

This commit is contained in:
bchanot committed 2026-11-19 15:04:27 +01:00
1 parent f3c4f7baa9
commit 7a9ccf149c
2 files changed
+17 -18

No files matched your search

@@ -100,11 +100,10 @@ export function popVertex(): void {
}
/** The tracing closes (three vertices at least): « Nouvelle zone » opens. */
export function closeTrace(): boolean {
export function closeTrace(): void {
const points = tracedPoints(creation())
if (!points || points.length < 3) return false
if (!points || points.length < 3) return
patch({ closed: true, dialog: true })
return true
}
/**