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

The eraser cannot function properly in scenes with PencilBrush and background images #27

Closed
wangqingbang-austin opened this issue May 20, 2024 · 5 comments

Comments

@wangqingbang-austin
Copy link

When I use the PencilBrush component to draw marker content, the eraser does not work properly.

and the background image, even if erasable: false is set, will still be erased by the eraser.

Here is my code:

image
image
image

@ShaMan123
Copy link
Owner

This repo is all about erasing.
I don't see any eraser components in your code.

@wangqingbang-austin
Copy link
Author

image

This is my code.

When using an eraser, the pencil brush did not erase it, but the background image was erased.

@ShaMan123
Copy link
Owner

ShaMan123 commented May 21, 2024

Hard to understand what is expected and what is actual.
Please describe, add visuals andd a live repro on codesandbox

@ShaMan123
Copy link
Owner

anyways make sure you set the pencil brush result to be erasable

@ShaMan123
Copy link
Owner

closing due to no response

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

2 participants