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

allow canvas larger than background_image #103

Open
ghost opened this issue Jan 24, 2023 · 0 comments
Open

allow canvas larger than background_image #103

ghost opened this issue Jan 24, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 24, 2023

For making rectangle masks, it would be nice to have the canvas be slightly larger than the image, aka with 20-40 pixels of padding so that users can draw rectangles without touching the edge and the rectangle getting killed as its registered as a declick.

Current workaround: add padding to the image, then give it to st_canvas and then de-pad before sending it to the functions.

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

0 participants