Skip to content

Conversation

@ankri
Copy link
Collaborator

@ankri ankri commented Nov 22, 2021

Fixes #346 and supersedes #347

Now nodes are selected before dragging if they were not selected before.

Example A)
We have "Button B" currently selected but drag "Button A" without holding the meta key, we only drag "Button A".

demo-a.mov

Example B)
We have "Button B" currently selected, drag "Button A" while holding down the meta key -> we drag both.

demo-b.mov

Example C)
We have no button selected and drag "Button A"

demo-c.mov

Example D)
We have both Buttons selected and drag them without holding down the meta key.

demo-d.mov

@netlify
Copy link

netlify bot commented Nov 22, 2021

✔️ Deploy Preview for craftjs ready!

🔨 Explore the source changes: 8630697

🔍 Inspect the deploy log: https://app.netlify.com/sites/craftjs/deploys/619b81c48628d40008af6f1a

😎 Browse the preview: https://deploy-preview-348--craftjs.netlify.app

@prevwong prevwong merged commit 2b0b626 into prevwong:develop Nov 24, 2021
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.

Connectors: { drag } is not working on 0.2.0 Beta

2 participants