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 Removes Background Image Src #31

Open
brittonk opened this issue Jan 29, 2018 · 0 comments
Open

Undo Removes Background Image Src #31

brittonk opened this issue Jan 29, 2018 · 0 comments

Comments

@brittonk
Copy link

brittonk commented Jan 29, 2018

My canvas starts with the user's photo (like in snapchat)

When the undo button is clicked, it removes both the last sketch mark as well as the starting background of the canvas.

For undo to work as expected, had to set CSS background in addition to the first draw of the image. This isn't ideal because I feel like some devices may not display a css sized background in a container the same as the canvas initially draws it... but maybe :D

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

No branches or pull requests

1 participant