Skip to content

fix(pins): make double-click close pins again - #125

Merged
bitdan merged 1 commit into
masterfrom
fix/pin-double-click-close
Nov 28, 2026
Merged

bitdan merged 1 commit into
masterfrom
fix/pin-double-click-close

Conversation

@bitdan

@bitdan bitdan commented Nov 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Pressing a pin entered the system move loop right away, which swallowed the mouse-up, so the second press never counted as a double-click and double-click close did nothing.
  • The press now only remembers its position; the window move starts once the mouse drags more than 3 px, so double-click closes the pin like Esc and dragging works as before.

Test plan

  • cargo check -p snap-desk-gpui (no warnings)
  • cargo test -p snap-desk-gpui, cargo test -p snap-core --lib
  • Manual: double-click close confirmed in the standalone build
  • Built into a local standalone preview together with the other branches of this round

🤖 Generated with Claude Code

Pressing a pin entered the system move loop right away, which swallowed
the mouse-up, so the second press never counted as a double-click.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bitdan
bitdan merged commit 6be130f into master Nov 28, 2026
3 checks passed
@bitdan
bitdan deleted the fix/pin-double-click-close branch November 28, 2026 10:13
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