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

Fix snapping lines don't disappearing after drag anchors #93527

Merged

Conversation

matheusmdx
Copy link
Contributor

Fix #92393

Before:

unknown_2024.06.23-21.02.mp4

After:

unknown_2024.06.23-21.03.mp4

@YeldhamDev YeldhamDev added this to the 4.x milestone Jun 24, 2024
@akien-mga akien-mga added the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Jun 24, 2024
@akien-mga akien-mga modified the milestones: 4.x, 4.3 Jun 24, 2024
@akien-mga akien-mga requested a review from KoBeWi June 24, 2024 10:20
Comment on lines +1690 to +1691
snap_target[0] = SNAP_TARGET_NONE;
snap_target[1] = SNAP_TARGET_NONE;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like something that should be a part of _reset_drag() method.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like something that should be a part of _reset_drag() method.

If desired i can update my pr to do that

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to do it in a separate PR.

@akien-mga akien-mga merged commit 3cce275 into godotengine:master Jun 29, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@matheusmdx matheusmdx deleted the fix-snapping-lines-with-anchors branch June 29, 2024 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release topic:editor topic:2d
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Axis Red lines don't get removed and persist in every scene
4 participants