Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element creation preview #35

Merged
merged 6 commits into from
Oct 31, 2023
Merged

Element creation preview #35

merged 6 commits into from
Oct 31, 2023

Conversation

hlxid
Copy link
Collaborator

@hlxid hlxid commented Oct 31, 2023

Draws previews shadows of the elements that are to be created.
For nodes and ports this is a shadow element which is snapped at the mouse position.

For edges the shadow preview element only gets visible after selecting a source element.
After that the source of the preview element is fixed and the target is at a pseudo element which snaps to the mouse pointer.

@hlxid hlxid merged commit 33c9366 into main Oct 31, 2023
1 check passed
@hlxid hlxid deleted the element-creation-preview branch October 31, 2023 22:03
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