mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-12 21:23:02 +00:00
A Move-tool click on the pasteboard with Auto-Select only cleared the layer selection (#4991) when nothing was hit there, but `layers_hit` was not clipped to the canvas: fill layers and pixels hanging past the edge were hit on the pasteboard, so the click selected a layer that isn't drawn there instead. Outside the canvas of a document without artboards, nothing is hit now, and the layer marquee is clipped to the canvas the same way. Artboard documents keep picking over the pasteboard, where they draw their layers (#5712). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>