glen3b/GLib

ProgressBar colors are not properties

Closed this issue · 3 comments

Setting FillColor or EmptyColor in the ProgressBar class is not threadsafe, and does not update the private field _textureNeedsCalculation. This means setting those fields does not immediately update the texture.

This can be fixed by changing them to properties.

Will be fixed in version 3.0, changing fields to properties and changing (unintended) behavior is technically API breaking, and will be fixed in version 3.0.

Fixed in commit 19ddc01 on the v3.0 branch. This issue will be updated when version 3.0 is released.

Pre-releases of version 3.0 are available.