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

Add the ability to erase partial masks via brush strokes and hotkeys (UX improvement) #3280

Closed
Tracked by #466
Alchete opened this issue Feb 22, 2023 · 0 comments · Fixed by #6169
Closed
Tracked by #466
Labels
🖼️ image Image component
Milestone

Comments

@Alchete
Copy link

Alchete commented Feb 22, 2023

Currently, Gradio only supports mask re-painting via a single undo mechanism that progressively removes brush strokes.

In Photoshop masks are toggleable via the 'x' key, between black and white, and can be quickly painted and unpainted without one's hand leaving the mouse.

Potential implementation:

  • Add 'x' key as a hot toggle between black & white when in mask mode
  • Add a button next to the mask to toggle between black & white
  • Change (or add) to the sequential "undo" mechanism with a "clear mask" button
@pngwn pngwn added the 🖼️ image Image component label Feb 22, 2023
@pngwn pngwn mentioned this issue Feb 22, 2023
20 tasks
@abidlabs abidlabs added this to the Component Cleanup milestone Jul 9, 2023
@abidlabs abidlabs modified the milestones: Component Cleanup, 4.0 Aug 10, 2023
@abidlabs abidlabs modified the milestones: 4.0, 4.0-image Oct 23, 2023
@pngwn pngwn mentioned this issue Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🖼️ image Image component
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants