edje edit: don't set the color_class color as main

@fix
This commit is contained in:
Vyacheslav Reutskiy 2015-07-08 14:37:26 +03:00
parent c31a57db00
commit 7f3b54d924
1 changed files with 0 additions and 16 deletions

View File

@ -6182,22 +6182,6 @@ edje_edit_state_color_class_set(Evas_Object *obj, const char *part, const char *
{
if (strcmp(cc->name, color_class) == 0)
{
pd->color.r = cc->r;
pd->color.g = cc->g;
pd->color.b = cc->b;
pd->color.a = cc->a;
pd->color2.r = cc->r2;
pd->color2.g = cc->g2;
pd->color2.b = cc->b2;
pd->color2.a = cc->a2;
if ((rp->type == EDJE_PART_TYPE_TEXT) || (rp->type == EDJE_PART_TYPE_TEXTBLOCK))
{
Edje_Part_Description_Text *txt = (Edje_Part_Description_Text *)pd;
txt->text.color3.r = cc->r3;
txt->text.color3.g = cc->g3;
txt->text.color3.b = cc->b3;
txt->text.color3.a = cc->a3;
}
pd->color_class = (char *)eina_stringshare_add(color_class);
edje_object_calc_force(obj);
return EINA_TRUE;