diff options
author | Torstennator <engelTorsten@gmx.de> | 2022-10-09 20:12:23 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-11-07 20:58:02 +0000 |
commit | a66dbef1ed7c4159207e0f28fa85d5f305f08582 (patch) | |
tree | 41afe456d96635fca1899d9bab5ca0d082a9511d /CONTRIBUTING.md | |
parent | e520b9c3a388e7703dc7ae4ca72290f71398a1fb (diff) | |
download | serenity-a66dbef1ed7c4159207e0f28fa85d5f305f08582.zip |
PixelPaint: Improve brushtool gradient for low hardness
This patch mitigates a rough gradient for the brush tool with a low
hardness. Previously the gradient alpha value was truncated by the type
conversion to int. Now the desired alpha value is scaled up to mitigate
the information loss due to type conversion which results in a much
smoother gradient.
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions