HaikuArchives / ArtPaint

ArtPaint is a painting and image processing program.
https://haikuarchives.github.io/ArtPaint/
29 stars 18 forks source link

Brush size cursor doesn't work with Airbrush spray mode #545

Closed humdingerb closed 1 year ago

humdingerb commented 1 year ago

Introduced with #536 drawing the brush size around the mouse cursor works for all tools perfectly except for Airbrush's spray mode. Here, once you stop drawing, the outline appears to be removed after MouseUp. dsizzle speculated in #536

...it seems to be some kind of race condition between when the tool stops drawing and the brush outline draws - but it’s not clear why the brush wins the race in every situation except spray… I would expect it to be more unpredictable??