HaikuArchives / ArtPaint

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

FillTool: make gradient range track mouse (aka intuitive) #528

Closed dsizzle closed 1 year ago

dsizzle commented 1 year ago

Alpha still doesn't work, but aside from alpha I think this is much better. I also added Radial gradients.

...as an aside, I tried to make the "linear" and "radial" buttons as well as the "preview" checkbox disable when you turn off gradient fill, but for some reason it totally breaks the functionality?

Anyway please try out the gradient drawing and lmk if it is more intuitive.

the related issue is #182

humdingerb commented 1 year ago

It works much better than before! However, it still applies the colours the wrong way round, I think:

dsizzle commented 1 year ago

Thanks for trying it out! It should be easy enough to flip the color order. I say “should” because it took longer than I thought to get it drawing correctly…

dsizzle commented 1 year ago

well, I flipped the colors. Still no luck on alpha.

dsizzle commented 1 year ago

baby steps. Alpha works, but only if you don't use Preview mode.

humdingerb commented 1 year ago

Cool! You'll get there. :) You say when to merge the status quo. It's already much nicer than before.

dsizzle commented 1 year ago

Ok, I think it all works now - please give it a try! If it works fine for you then please merge.

humdingerb commented 1 year ago

Those were quite huge baby steps... :) Appears to work perfectly! \o/