forked from enlightenment/efl
* edje: fix interpolation of text color during animation.
SVN revision: 51782
This commit is contained in:
parent
af64cdd630
commit
e687c13d1c
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue