openpencil/packages/docs/user-guide
Danila Poyarkov 24db186ac8
feat: select layers at Figma's click depth (#900)
* feat: select layers at Figma's click depth

Checked against Figma desktop 126 with the same pointer input in both
editors. A click walks from the page down to the deepest layer under the
cursor and stops at the first layer that is not open: top-level frames
(on the page or in a section) and sections that hold layers, component
sets, and every ancestor of the selection are open. So a click inside a
top-level frame selects its direct child, the empty part of a top-level
frame or section selects nothing, and a selected layer's siblings and
cousins are one click away. Double-click goes one level deeper and
Cmd/Ctrl-click reaches the deepest layer.

A marquee started inside a top-level frame or section selects that
container's layers; from the page, a frame or section holding layers is
selected only when fully enclosed.

* fix(vue): compare marquee hits by canvas bounds

A marquee scoped to a rotated frame mapped only two corners into its space, and page-level enclosure used a frame's unrotated rectangle. Both now compare each layer's axis-aligned canvas bounds with the marquee, so rotated frames and their children are selected by what is drawn.
2026-10-05 12:39:04 +00:00
..
auto-layout.md fix: match Figma when dragging, drawing, duplicating, and pasting (#894) 2026-10-05 12:39:03 +00:00
canvas-navigation.md feat(app): show who works on each page (#815) 2026-10-04 01:18:16 +04:00
checking-designs.md feat(lint): suggest group-to-frame and hidden-layer fixes; keep canvas edits in code previews (#870) 2026-10-04 12:46:06 +00:00
components.md docs: explain component library workflows (#520) 2026-08-14 20:39:47 +03:00
context-menu.md Use <kbd> for keyboard shortcuts across all docs 2026-03-08 12:48:02 +03:00
drawing-shapes.md fix: match Figma when dragging, drawing, duplicating, and pasting (#894) 2026-10-05 12:39:03 +00:00
exporting.md Update README and docs for new formats and SDK 2026-03-28 15:42:21 +03:00
index.md feat: check designs live with a Lint panel, canvas markers, and fixes (#804) 2026-10-04 10:08:39 +00:00
layers-and-pages.md docs: clarify recovery cleanup and browser font scope 2026-09-15 23:19:29 +03:00
pen-tool.md update pen tool space drag spec 2026-03-27 21:27:45 +05:00
selection-and-manipulation.md feat: select layers at Figma's click depth (#900) 2026-10-05 12:39:04 +00:00
text-editing.md docs: clarify recovery cleanup and browser font scope 2026-09-15 23:19:29 +03:00
variables.md
vector-edit.md Quote vector edit docs descriptions 2026-03-27 21:54:54 +03:00