CrystalP/xbmc — comment on commit 06edd358d4e8c15baee0e9aef8c8a81ba265a302
File:  line 0
By CrystalP:

I see what you're saying but I don't completely agree.
The underlying button handles the pulse effect, but pulse is not the only possible reason it gets dirty so that would do a bit more rendering than necessary.
My way is also not ideal in case the pulsing is made really slow and the alpha doesn't change for each frame.

Maybe best would be a 'dirty because of pulsing' getter in the button.