openpencil/packages/core/tests/editor/structure
Danila Poyarkov b3f35ab650
fix: keep stored page backgrounds and number layers by their own page (#949)
Follow-ups from review of #940. A document handed to the editor with a theme keeps its first page's stored background; only a page without one takes the theme default. Canvas layers are numbered from the page they go on rather than the page on screen. Script strokes are copied with copyStrokes so the node owns its nested paint values. CanvasHelper switches only a fresh document (one empty page on the exact dark default) to the light page, and the round-trip test imports SceneGraph from its own package.
2026-10-07 13:35:59 +00:00
..
boolean.test.ts fix: share Figma's creation and grouping between editor and plugin API (#919) 2026-10-06 12:28:52 +00:00
flatten.test.ts feat(scene-graph)!: make a stroke a paint (#864) 2026-10-04 13:38:05 +04:00
frame-selection.test.ts fix: share Figma's creation and grouping between editor and plugin API (#919) 2026-10-06 12:28:52 +00:00
names.test.ts fix: keep stored page backgrounds and number layers by their own page (#949) 2026-10-07 13:35:59 +00:00
state.test.ts test(core): move the fig round-trip suite home, and stop test imports drilling 2026-10-01 14:11:53 +04:00
z-order.test.ts fix: match Figma's transforms, strokes, booleans, sections, and names (#931) 2026-10-07 08:36:50 +00:00