summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_gradient_linear.c
diff options
context:
space:
mode:
authorSubhransu Mohanty <sub.mohanty@samsung.com>2016-05-19 01:55:06 -0700
committerCedric Bail <cedric@osg.samsung.com>2016-05-19 02:23:56 -0700
commit655ed09ab4026c9994d6aa9c4e3a3c245541c262 (patch)
treeb97dfe0c3e1e4b081b364520318d54a1ff2ac99d /src/lib/evas/canvas/evas_vg_gradient_linear.c
parentce4a9ee6c8c6e801069bd2c9aad56b785094fb3a (diff)
evas: propagate the change to child when object is a vector graphic container
Summary: let me know whats your thought Reviewers: Hermet, cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3893 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_gradient_linear.c')
-rw-r--r--src/lib/evas/canvas/evas_vg_gradient_linear.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_vg_gradient_linear.c b/src/lib/evas/canvas/evas_vg_gradient_linear.c
index 5aa2607850..11491708aa 100644
--- a/src/lib/evas/canvas/evas_vg_gradient_linear.c
+++ b/src/lib/evas/canvas/evas_vg_gradient_linear.c
@@ -65,8 +65,9 @@ _efl_vg_gradient_linear_render_pre(Eo *obj,
65 Efl_VG_Gradient_Linear_Data *pd = data; 65 Efl_VG_Gradient_Linear_Data *pd = data;
66 Efl_VG_Gradient_Data *gd; 66 Efl_VG_Gradient_Data *gd;
67 67
68 if (!nd->changed) return ; 68 if (nd->flags == EFL_GFX_CHANGE_FLAG_NONE) return ;
69 nd->changed = EINA_FALSE; 69
70 nd->flags = EFL_GFX_CHANGE_FLAG_NONE;
70 71
71 gd = eo_data_scope_get(obj, EFL_VG_GRADIENT_CLASS); 72 gd = eo_data_scope_get(obj, EFL_VG_GRADIENT_CLASS);
72 EFL_VG_COMPUTE_MATRIX(current, parent, nd); 73 EFL_VG_COMPUTE_MATRIX(current, parent, nd);