summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/static_libs/vg_common/vg_common_json.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/static_libs/vg_common/vg_common_json.c b/src/static_libs/vg_common/vg_common_json.c
index f289bd65b4..50ab8c3153 100644
--- a/src/static_libs/vg_common/vg_common_json.c
+++ b/src/static_libs/vg_common/vg_common_json.c
@@ -363,8 +363,7 @@ _update_vg_tree(Efl_Canvas_Vg_Container *root, const LOTLayerNode *layer, int de
363#endif 363#endif
364 364
365 //Set Container's alpha color 365 //Set Container's alpha color
366 if (clayer->mAlpha < 255) 366 efl_gfx_color_set(ctree, clayer->mAlpha, clayer->mAlpha, clayer->mAlpha, clayer->mAlpha);
367 efl_gfx_color_set(ctree, clayer->mAlpha, clayer->mAlpha, clayer->mAlpha, clayer->mAlpha);
368 367
369 _update_vg_tree(ctree, clayer, depth+1); 368 _update_vg_tree(ctree, clayer, depth+1);
370 369
@@ -443,8 +442,7 @@ vg_common_json_create_vg_node(Vg_File_Data *vfd)
443 efl_key_data_set(root, _get_key_val((void *) tree), tree); 442 efl_key_data_set(root, _get_key_val((void *) tree), tree);
444 vfd->root = root; 443 vfd->root = root;
445 } 444 }
446 if (tree->mAlpha < 255) 445 efl_gfx_color_set(root, tree->mAlpha, tree->mAlpha, tree->mAlpha, tree->mAlpha);
447 efl_gfx_color_set(root, tree->mAlpha, tree->mAlpha, tree->mAlpha, tree->mAlpha);
448 446
449 _update_vg_tree(root, tree, 1); 447 _update_vg_tree(root, tree, 1);
450#else 448#else