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

PixelPaint: Fixed some Color Masking issues #24580

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

Torstennator
Copy link
Contributor

This change fixes an issue where pixelpaint was crashing when trying to refine an editing mask with the "Color Masking" feature because we where accessing pixel coordinates that where beyond the boundaries. Furthermore a change was made to make the color masking hue selection work again with mouse clicks directly on the color wheel.

@github-actions github-actions bot added the 👀 pr-needs-review PR needs review from a maintainer or community member label Jun 23, 2024
@BuggieBot
Copy link
Member

Hello!

One or more of the commit messages in this PR do not match the SerenityOS code submission policy, please check the lint_commits CI job for more details on which commits were flagged and why.
Please do not close this PR and open another, instead modify your commit message(s) with git commit --amend and force push those changes to update this PR.

@nico
Copy link
Contributor

nico commented Jun 23, 2024

https://github.com/SerenityOS/serenity/blob/master/CONTRIBUTING.md#code-submission-policy

Write the commit message subject line in the imperative mood ("Foo: Change the way dates work", not "Foo: Changed the way dates work").

And since it's two independent things, maybe it should be two commits?

Otherwise looks good, thanks for the PR!

@nico nico added ⏳ pr-waiting-for-author PR is blocked by feedback / code changes from the author and removed 👀 pr-needs-review PR needs review from a maintainer or community member labels Jun 25, 2024
This change solves a crash where it was possible that the
"Color Masking" could try to access pixel coordinates that where beyond
the boundaries of the image.
@github-actions github-actions bot added 👀 pr-needs-review PR needs review from a maintainer or community member and removed ⏳ pr-waiting-for-author PR is blocked by feedback / code changes from the author labels Jun 25, 2024
@nico nico added ⏳ pr-waiting-for-author PR is blocked by feedback / code changes from the author and removed 👀 pr-needs-review PR needs review from a maintainer or community member labels Jun 26, 2024
This change solves a problem where the color selection via mouse click
on the color wheel was computing a wrong hue angle.
@github-actions github-actions bot added 👀 pr-needs-review PR needs review from a maintainer or community member and removed ⏳ pr-waiting-for-author PR is blocked by feedback / code changes from the author labels Jun 26, 2024
@nico nico merged commit 490d61d into SerenityOS:master Jun 26, 2024
12 checks passed
@nico
Copy link
Contributor

nico commented Jun 26, 2024

Thanks!

@github-actions github-actions bot removed the 👀 pr-needs-review PR needs review from a maintainer or community member label Jun 26, 2024
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

Successfully merging this pull request may close these issues.

None yet

3 participants