hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d7fb6f62b46471767ba13b292dad9f6456de0cdd

commit d7fb6f62b46471767ba13b292dad9f6456de0cdd
Author: JunsuChoi <[email protected]>
Date:   Thu Jun 13 13:55:29 2019 +0900

    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;
 }
 

-- 


Reply via email to