From d7fb6f62b46471767ba13b292dad9f6456de0cdd Mon Sep 17 00:00:00 2001 From: JunsuChoi Date: Thu, 13 Jun 2019 13:55:29 +0900 Subject: [PATCH] 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 --- src/lib/evas/canvas/efl_canvas_vg_container.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/evas/canvas/efl_canvas_vg_container.c b/src/lib/evas/canvas/efl_canvas_vg_container.c index 7623401896..9598168956 100644 --- a/src/lib/evas/canvas/efl_canvas_vg_container.c +++ b/src/lib/evas/canvas/efl_canvas_vg_container.c @@ -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; }