efl_canvas_vg_container: Initialize alpha color

Summary:
The vg object (container, shape, ...) follows color of VG node data.
The color of node data is not initialized. it can set the required color for each object.
vg container should be layer with an alpha value of 255.

Test Plan: N/A

Reviewers: Hermet, smohanty

Reviewed By: Hermet

Subscribers: cedric, #reviewers, kimcinoo, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9083
This commit is contained in:
junsu choi 2019-06-13 13:55:29 +09:00 committed by Hermet Park
parent 8a10b62fc2
commit d7fb6f62b4
1 changed files with 2 additions and 0 deletions

View File

@ -227,6 +227,8 @@ _efl_canvas_vg_container_efl_object_constructor(Eo *obj,
nd->data = pd;
nd->flags = EFL_GFX_CHANGE_FLAG_ALL;
efl_gfx_color_set(obj, 255, 255, 255, 255);
return obj;
}