From 5e5247f8cb59f83ed7900c815342d72d2fc4eb01 Mon Sep 17 00:00:00 2001 From: "jiin.moon" Date: Mon, 17 Jul 2017 17:24:11 +0900 Subject: [PATCH] edje_cc: Add copy item for proxy part Refs: master, , , v1.20.0-beta2-43-g4211822 Author: jiin.moon AuthorDate: Fri Jul 14 11:29:50 2017 +0900 Commit: Jean-Philippe Andre CommitDate: Fri Jul 14 11:39:44 2017 +0900 edje_cc: Add copy item for proxy part Summary: Although user use "inherit" in a state of proxy part, the inherit function does not copy the source_visible and the source_clip value of parent to the state. Test Plan: {F1751132}sample Reviewers: jpeg, cedric Differential Revision: https://phab.enlightenment.org/D5017 @fix Change-Id: I35e7eafd558d1e41b6d49e70ab0ebf8f63e93ae5 --- src/bin/edje/edje_cc_handlers.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c index 9ef57d8..34587e6 100644 --- a/src/bin/edje/edje_cc_handlers.c +++ b/src/bin/edje/edje_cc_handlers.c @@ -7749,6 +7749,8 @@ st_collections_group_parts_part_description_inherit(void) Edje_Part_Description_Proxy *pparent = (Edje_Part_Description_Proxy*) parent; data_queue_copied_part_lookup(pc, &(pparent->proxy.id), &(ped->proxy.id)); + ped->proxy.source_clip = pparent->proxy.source_clip; + ped->proxy.source_visible = pparent->proxy.source_visible; /* Filters stuff */ ped->filter.code = STRDUP(pparent->filter.code); -- 2.7.4