Mended Color Mixer random color bug

If you set a color, then come back to Color Mixer and immediately
dismiss the dialog (without setting a color), an indeterminate
color could appear due to uninitialized variables (new_r, _g, _b).

Closes https://sourceforge.net/p/tuxpaint/bugs/251/
h/t @kentonyanamin on Twitter
This commit is contained in:
Bill Kendrick 2022-06-14 01:14:39 -07:00
parent 7e6f848994
commit 1068a33167
2 changed files with 15 additions and 0 deletions

View file

@ -8,6 +8,13 @@ http://www.tuxpaint.org/
2022.June.14 (0.9.29)
* Bug Fixes:
----------
* Opening and immediately dismissing Color Mixer could cause
an unexpected color to be chosen.
h/t @kentonyanamin on Twitter for reporting.
Closes https://sourceforge.net/p/tuxpaint/bugs/251/
* Other Improvements:
-------------------
* Automatic button size option ("buttonsize=auto"), to scale button