Uh oh!
There was an error while loading. Please reload this page.
Improved behavior of "visible" setter and getter properties in BasicSprite. - #2029
Conversation
This is so the alpha state is stored when setting visibility. originally it overrode the alpha which was stinky.
There was a problem hiding this comment.
TL;DR: There are nasty, subtle details which need changes to take care of.
The general changes are good, however. I also think we might have uncovered room for improvement in Color.from_iterable since we leave an unpack underflow uncaught, and it results in a somewhat vague exception.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
pushfoo
left a comment
There was a problem hiding this comment.
We should fix this while we're here.
Uh oh!
There was an error while loading. Please reload this page.
* Correct and expand docstring for BasicSprite.visible * Add comment explaining that SpriteList handles the alpha/visible interaction
This is so the alpha state is stored when setting visibility. Originally, it overrode the alpha, which was stinky.