CoolButtons icon indicating copy to clipboard operation
CoolButtons copied to clipboard

Only reconfigure layers when the color changes

Open jessmartin opened this issue 14 years ago • 1 comments

Tip from @soundevolution: "You could make additional improvements by setting a flag in the -setButtonColor: method so that the layers are only reconfigured when the colour changes instead of doing it on every layout (which happens quite often when a view is a being animated.)."

jessmartin avatar Oct 21 '11 18:10 jessmartin

Would that explain why my view is kinda laggy when being popped into existence?

Hackmodford avatar Oct 21 '11 18:10 Hackmodford