HaikuArchives / ArtPaint

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

Gradient drawing outside selection bounds behaves badly #611

Open dsizzle opened 10 months ago

dsizzle commented 10 months ago

If the start and end point of a gradient are outside selection bounds, the gradient doesn't draw, and the line stays until you exit the canvas:

grad-bad

At the very least the line shouldn't stick around, but I think the gradient should draw inside the selection as well. It's perfectly valid to want to extend the range of a gradient outside a selection.

dsizzle commented 10 months ago

It's weirder than this - the first time you try, there is no gradient. The second time, it works. It works about every other time:

grad2

EDIT: spent some time investigating and somehow got it to draw the 1st time (but then not the 2nd!) so this is a 🤯 for sure