Re: [Tuxpaint-devel] Can't recover original behavior of half-transparent brushes
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Bill K. <nb...@so...> - 2022-10-25 07:54:18
|
On Sun, Sep 18, 2022 at 08:16:09PM +0200, Pere Pujal i Carabantes wrote: > Hi all, > > I was updating the Catalan translation when I noticed this: > > Start Tux Paint, select a brush that is not fully opaque, like the sixth or seventh ones and paint a line, > change the brush spacing to something bigger, then change it again to the smallest and paint another line > > See the differences between both lines, I've not been able to get the original behavior again unless restarting Tux Paint. I fiddled with this a bunch. I think I've come up with a suitable (if not perfect) solution. If you choose an option that would, upon calculating a new spacing, be very close but not _exactly_ the same as the default -- be it a calculated or .dat-file-driven default -- it will now 'nudge' the spacing to be the default. For example, say you had a 20x20 brush with a default spacing of 15. If the available spacings were therefore calculated to be: 0, 8, 16, 25, 33, 41, ... 91, 100 Then the third option would actually choose 15, not 16, to be consistent with the default spacing of the brush. I'd accept other solutions. And also, sorry this never occurred to me when I first added this new feature in 0.9.28. Thanks for pointing it out! -- -bill! Sent from my computer |