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

Undo marks made while drawing #125

Open
CoderTypist opened this issue Dec 9, 2021 · 1 comment
Open

Undo marks made while drawing #125

CoderTypist opened this issue Dec 9, 2021 · 1 comment
Labels
feature request New feature or request
Milestone

Comments

@CoderTypist
Copy link

📝 Undo marks made while drawing

When drawing, it would be nice to be able to undo accidents instead of having to start over.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

@CoderTypist CoderTypist added the feature request New feature or request label Dec 9, 2021
@Tursko Tursko added this to the 3.4.0 milestone Dec 10, 2021
@zacbre
Copy link
Member

zacbre commented May 24, 2022

some further thought on this, we could potentially draw the current state based on a Stack<T> and from there, every time the mouse click is lifted we add to that stack with the coordinates of before/after each move. This idea only works with straight lines so maybe there is some way to add interpolation for every point generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants