forked from enlightenment/efl
Evas textblock: Fixed colour setting for textblock formats.
Of course Cedric introduced a bug. The bug was that the current colour context is set to the previously selected colour, instead of the current one, which made all colours wrong. Fixes T926.
This commit is contained in:
parent
80033e022d
commit
650b0b6c64
|
@ -10816,7 +10816,7 @@ evas_object_textblock_render(Evas_Object *eo_obj EINA_UNUSED,
|
|||
if (na != ca || nb != cb || ng != cg || nr != cr) \
|
||||
{ \
|
||||
ENFN->context_color_set(output, context, \
|
||||
cr / 255, cg / 255, cb / 255, ca / 255); \
|
||||
nr / 255, ng / 255, nb / 255, na / 255); \
|
||||
cr = nr; cg = ng; cb = nb; ca = na; \
|
||||
} \
|
||||
ENFN->rectangle_draw(output, \
|
||||
|
|
Loading…
Reference in New Issue