Skip to content

feat(layer-interaction): enhance alignment guide behavior during drag interactions - #852

Merged
hm21 merged 2 commits into
stablefrom
fix/layer-align-snap
Jul 24, 2026
Merged

feat(layer-interaction): enhance alignment guide behavior during drag interactions#852
hm21 merged 2 commits into
stablefrom
fix/layer-align-snap

Conversation

@hm21

@hm21 hm21 commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Improve the alignment guide functionality to prevent layers from being trapped by coincident guides during drag operations. This change initializes and manages held alignment targets, allowing for smoother interactions when dragging overlapping layers.

Description

Enhance the behavior of alignment guides during drag interactions to ensure that layers do not get trapped by coincident guides. This is achieved by initializing held alignment targets at the start of a drag and suppressing them until the layer moves clear of the targets.

Related Issue: Closes #

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

@hm21
hm21 merged commit 6f21b90 into stable Jul 24, 2026
1 check passed
@hm21
hm21 deleted the fix/layer-align-snap branch July 24, 2026 15:57
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