Skip to content

Respect selected group hierarchy when aligning objects - #93

Merged
pablostanley merged 1 commit into
mainfrom
codex/align-selected-hierarchy
Sep 13, 2026
Merged

pablostanley merged 1 commit into
mainfrom
codex/align-selected-hierarchy

Conversation

@pablostanley

Copy link
Copy Markdown
Owner

Selecting two groups and aligning their centers used to align every child separately, collapsing the layouts inside them. Alignment and distribution now preserve explicitly selected groups as units while allowing directly selected children—including mixed selections across groups—to align independently.

A single child or nested group can align to its immediate parent’s current bounds. The inspector, quick controls, context menu, and command palette share the same availability rules. Selection hierarchy survives undo, redo, duplication, and canceled gestures.

Validation: lint, typecheck, all 26 test suites, agent tests, production build, and offline webxdc package passed. Browser checks cover group clicks, deep additive selections, all-child selections, marquee, parent controls, and undo. Figma research and scope are documented in docs/alignment.md; Shift-click parent alignment and fixed frames are outside this change.

@vercel

vercel Bot commented Sep 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
squig Ready Ready Preview Sep 13, 2026 4:11pm UTC

Request Review

@pablostanley
pablostanley merged commit c832040 into main Sep 13, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — d1f187b9 Deployed Sep 13, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant