Fixed 9-Slice setColor function#4
Fixed 9-Slice setColor function#4CetoBasilius wants to merge 2 commits intocoronalabs:masterfrom CetoBasilius:master
Conversation
|
There is a problem though, it also colors the label. Fixing... |
|
you could always check the child object to see if it contains a .text property. If so don’t color it. Thank you, Web: http://www.gremlininteractive.com On Saturday 5 April 2014 at 12:54 a.m., CetoBasilius wrote:
|
|
|
Function
setColorwould not change color on 9-Slice buttons, since it iterated over the buttons children, which would only be_view. Instead, we iterate onself._views children, which contain all the slices.