Skip to content

Clear a stale background flag before each left click in point segmentation - #1951

Open
mattdawkins wants to merge 1 commit into
mainfrom
dev/point-seg-stale-background-flag
Open

mattdawkins wants to merge 1 commit into
mainfrom
dev/point-seg-stale-background-flag

Conversation

@mattdawkins

Copy link
Copy Markdown
Member
  • Every Point-mode edit layer listens for middle mousedown on the document, but only the layer under the cursor created the negative point and cleared its flag; the other camera's layer (or any layer when the middle click landed off-canvas) kept it, so the next left click there was a red background point
  • The native handler now sets the flag from the current button, so a left click clears leftover state before GeoJS runs
  • Spec covers a middle click on one Point layer followed by a left click and a shift click on another

🤖 Generated with Claude Code

…ation

A middle click sets the flag on every Point-mode layer, but only the layer
under the cursor consumed it, so the next left click elsewhere came in negative.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant