mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-11 16:30:12 -06:00
* M5: Locked layers follow Figma's rules: no nudge, a locked parent's children stay locked (#1560) Pins Figma's locked-layer behaviour (measured in Figma's web app, 2026-11-10; help center "Lock and unlock layers") in a new lock_behaviour_tests suite. Fixes the divergences: transform.nudge and transform.nudgeSize skip locked layers, object.toggleLock without a value counts a child of a locked parent as locked (so it never locks the child on its own), and the Layers panel padlock on such a child is inert. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Model-Effort: Opus 5.5 drove; Fable 5.1 briefed; Sonnet 5.5 wrote at medium * Layers panel: a padlock sweep skips the children of a locked layer (#1560) A padlock drag sweep no longer collects rows with `locked_above`, so dragging across a locked frame's children leaves their own flags alone and draws no swept value on them. An eye sweep is unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium * M5: Lock/Unlock leaves a locked layer's child alone in a mixed selection (#1560) With a locked frame's child and an unlocked layer selected, Lock/Unlock set both own flags, so the child stayed locked once the frame was unlocked. With no explicit `locked` value, the command now skips a layer whose parent is locked, as its padlock does; an explicit value (scripts) still sets it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Model-Effort: Opus 5.5 drove and wrote --------- Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com> Co-authored-by: FredApps <FredApps@users.noreply.github.com>