* edje: fix interpolation of text color during animation.

SVN revision: 51782
This commit is contained in:
Cedric BAIL 2010-08-31 13:30:11 +00:00
parent af64cdd630
commit e687c13d1c
1 changed files with 2 additions and 1 deletions

View File

@ -1351,7 +1351,7 @@ _edje_part_recalc_single(Edje *ed,
case EDJE_PART_TYPE_TEXT: case EDJE_PART_TYPE_TEXT:
case EDJE_PART_TYPE_TEXTBLOCK: case EDJE_PART_TYPE_TEXTBLOCK:
{ {
Edje_Part_Description_Text *text_desc = (Edje_Part_Description_Text*) chosen_desc; Edje_Part_Description_Text *text_desc = (Edje_Part_Description_Text*) desc;
/* text.align */ /* text.align */
if (flags & FLAG_X) if (flags & FLAG_X)
@ -1387,6 +1387,7 @@ _edje_part_recalc_single(Edje *ed,
params->type.text.color3.b = text_desc->text.color3.b; params->type.text.color3.b = text_desc->text.color3.b;
params->type.text.color3.a = text_desc->text.color3.a; params->type.text.color3.a = text_desc->text.color3.a;
} }
break; break;
} }
case EDJE_PART_TYPE_RECTANGLE: case EDJE_PART_TYPE_RECTANGLE: