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

Restore undo support for the route and area tools #10

Merged
merged 2 commits into from
Nov 27, 2024
Merged

Restore undo support for the route and area tools #10

merged 2 commits into from
Nov 27, 2024

Conversation

dabreegster
Copy link
Collaborator

#9

@@ -185,6 +199,8 @@
}

function addNode(node: ExtraNode) {
// Capture state before starting to drag
Copy link
Contributor

Choose a reason for hiding this comment

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

should this be on line 251?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Waypoints are the colored ones, "extra nodes" are the middle points. addNode is called when somebody starts interacting with an extra node, turning it into a waypoint. I'll add some comments to make this more clear

@dabreegster dabreegster merged commit 1740240 into main Nov 27, 2024
@dabreegster dabreegster deleted the undo branch November 27, 2024 16:29
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.

2 participants