-
Notifications
You must be signed in to change notification settings - Fork 110
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
Eraser is not working #24
Comments
I don't know if anyone's working on this, but I just realized this is happening on my app as well. Weirdly, it's happening on a version of the app that hasn't been updated/changed for nearly 3-4 months. It definitely worked fine 3-4 months ago. Additionally, the issue only happens on Chrome and Firefox - no issues on Safari. More surprisingly, the demo at http://intridea.github.io/sketch.js/ works completely fine for me. I'll keep digging, but this is a seriously weird bug. EDIT: The eraser in the demo does NOT work in Chrome 37.0.2062.94 (same Chrome version) |
Hey gang, it seems this was fixed two years ago, but the |
@michaelrhodes THANK YOU THANK YOU THANK YOU!!! 👍 👍 |
After changing line 173 to "destination-out" I was still having an issue on Chrome 42.0.2311.135 m. Changing line 174 to hex instead of rgba fixed the eraser action.color = "#000000"; |
Hello guys, i'v created a account just to help u all. |
Thanks rodrigohajj - that fixed it! |
Hi All - What if i need both "clear canvas" (destination-out) and the "eraser" (copy). I tried putting in both codes one after another. It doesnt seem to work that way. Any help would be appreciated. Thanks much |
Copy the eraser code, name it something else, and treat it like the other non-eraser tools by inserting it somewhere before the original eraser (that clears everything). Don't use the
|
Thanks @mcandocia I also found another solution here: It seems to work for me. Thanks again |
Thanks @mcandocia 👍 and thanks @Mike8000 |
Also have a look at my comment of a few minutes ago on issue #3 , #3 (comment) Takes into account that the background of the canvas might be an image. However, not as a CSS background but rather the canvas element (so it will be included in any printing/downloading of the canvas). |
Hi,
Eraser is not working when erasing the line.It get clear instead of erasing
Also check on this link http://intridea.github.io/sketch.js/
The text was updated successfully, but these errors were encountered: