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 component outlines getting out of sync when dragging. #40

Merged
merged 1 commit into from
Jul 23, 2021

Conversation

sliedes
Copy link
Contributor

@sliedes sliedes commented Nov 28, 2020

Dragging components can cause component outlines to get out of sync (the undo mechanism restores the pins always correctly, but fails to restore the component outlines).

Giving component outlines unique id_nos (they all used have id_no 0) fixes this issue.

Failed dragging used to restore the position of pins, but not of
component outlines.

Give components unique id_nos so they can be restored by the undo
mechanism.
@andrasfuchs
Copy link
Collaborator

@sliedes Thank you for your contribution!

@andrasfuchs andrasfuchs merged commit 04e9077 into freerouting:master Jul 23, 2021
@sliedes sliedes deleted the fix-component-outline-drag branch March 7, 2022 22:42
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.

None yet

2 participants