openpencil/packages/docs
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
..
.vitepress fix: validate parsed JSON at untrusted boundaries with Valibot (#855) 2026-10-04 17:01:50 +00:00
de docs: sync translations with documentation changes since v0.15.1 (#886) 2026-10-04 16:38:35 +00:00
development feat: create, fill, and edit slots (#862) 2026-10-04 17:02:28 +00:00
es docs: sync translations with documentation changes since v0.15.1 (#886) 2026-10-04 16:38:35 +00:00
fr docs: sync translations with documentation changes since v0.15.1 (#886) 2026-10-04 16:38:35 +00:00
it docs: sync translations with documentation changes since v0.15.1 (#886) 2026-10-04 16:38:35 +00:00
overview feat(code): link the Code tab to canvas layers and sync both ways (#805) 2026-10-04 10:08:40 +00:00
pl docs: sync translations with documentation changes since v0.15.1 (#886) 2026-10-04 16:38:35 +00:00
programmable feat: write variable-bound properties as tokens in exported code (#895) 2026-10-05 09:15:44 +00:00
public feat: refresh branding with generated platform icons (#707) 2026-09-16 11:54:07 +03:00
reference fix(design-jsx): say what gradient helpers expect when stops are not an array (#881) 2026-10-04 18:28:44 +00:00
ru docs: sync translations with documentation changes since v0.15.1 (#886) 2026-10-04 16:38:35 +00:00
user-guide feat: select layers at Figma's click depth (#900) 2026-10-05 12:39:04 +00:00
AGENTS.md build(tools): group tools by role and gate them like the rest of the repo (#791) 2026-09-30 05:00:31 +04:00
getting-started.md fix: explain unsupported browsers instead of a blank window (#745) 2026-09-22 14:40:59 +04:00
index.md
package.json build: update dependencies (#873) 2026-10-04 12:48:24 +00:00