Repository navigation
Conversation
A large shape or group whose bounding box covers smaller shapes swallowed clicks aimed at them, which made nesting parts on a sheet very hard. Add a "Click select" preference (Settings > General): - "On the line", the new default: Fabric per-pixel target find with a 5 px tolerance, so a click only picks a shape when it lands on its strokes, fills or text; empty space inside a bounding box passes through to the shape underneath. - "Inside the bounding box": the previous behaviour. The choice applies immediately and is remembered in localStorage (openburn.clickSelection). Marquee selection is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ay6UUMKQbnKEyEAJkdon1d
inzuno
force-pushed
the
click-selection-option
branch
from
December 2, 2026 13:36
b5f0e62 to
ec42a43
Compare
With "On the line" click selection (the new default), a click in the empty inside of an unfilled rectangle no longer selects it, so the node editing tests clicked through and never got a path. Click the rectangle's left edge instead, which selects it in both click selection modes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
When a large shape or group (for example a long stem grouped with its engraved label) has a bounding box that covers smaller shapes, clicking one of the small shapes selects the large one instead. Nesting parts tightly on a sheet becomes very hard: the only workaround is to move the large shape away, select the small one, then move the large shape back.
Change
New Click select preference in Settings → General:
perPixelTargetFindwith a 5 px tolerance, so a click only picks a shape when it lands on its drawn pixels (strokes, fills, text). Empty space inside a shape's bounding box passes through to the shape underneath.The choice applies immediately (no restart) and is remembered in
localStorage(openburn.clickSelection). Marquee selection is unchanged.Happy to flip the default to the old behaviour if you prefer.
Testing
npm run typecheckand the full unit suite pass; new tests cover the preference's default, persistence and invalid stored values.