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

Minimum 1px selection with Magic Wand #1399

Closed
MorrowShore opened this issue Nov 4, 2024 · 0 comments
Closed

Minimum 1px selection with Magic Wand #1399

MorrowShore opened this issue Nov 4, 2024 · 0 comments
Assignees
Labels
feature New features or improvements to existing ones
Milestone

Comments

@MorrowShore
Copy link
Member

This would make it so that magic wand always selects at least 1 pixel.
This will allow drag adjustment to function despite hostile parameters that lead to no selection (such as low tolerance and high close gap).

@MorrowShore MorrowShore added the feature New features or improvements to existing ones label Nov 4, 2024
askmeaboutlo0m added a commit that referenced this issue Feb 3, 2025
The fill area can end up empty due to erosion, e.g. because the user set
the selection to shrink or fill gaps. That's not sensible though, since
it just leads to nothing happening even though the user issued a fill
and prevents dragging the cursor to adjust the tolerance parameter. So
instead, we now always return at least the initial pixel filled,
appropriately masked by the selection.

Implements #1399.
@askmeaboutlo0m askmeaboutlo0m self-assigned this Feb 3, 2025
@askmeaboutlo0m askmeaboutlo0m added this to the 2.2.2 milestone Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New features or improvements to existing ones
Projects
None yet
Development

No branches or pull requests

2 participants