summaryrefslogtreecommitdiff
path: root/Userland/Services/WebDriver/BrowserConnection.h
diff options
context:
space:
mode:
authorTorstennator <engelTorsten@gmx.de>2022-10-09 20:12:23 +0200
committerLinus Groh <mail@linusgroh.de>2022-11-07 20:58:02 +0000
commita66dbef1ed7c4159207e0f28fa85d5f305f08582 (patch)
tree41afe456d96635fca1899d9bab5ca0d082a9511d /Userland/Services/WebDriver/BrowserConnection.h
parente520b9c3a388e7703dc7ae4ca72290f71398a1fb (diff)
downloadserenity-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 'Userland/Services/WebDriver/BrowserConnection.h')
0 files changed, 0 insertions, 0 deletions