Edje UI mirroring: Fix UI mirroring for GROUP parts.
authorTom Hacohen <tom@stosb.com>
Tue, 12 Jan 2016 10:39:37 +0000 (10:39 +0000)
committerTom Hacohen <tom@stosb.com>
Tue, 12 Jan 2016 10:41:42 +0000 (10:41 +0000)
GROUP parts were not mirrored with the rest of the edje object,
this commits fixes that.

This is an improvement of the now reverted
55b62bbd70e32f5824cbc760bc2f8e49eafa4cdd.

Thanks to cedric for the pointer that lead to this commit.

Ref T3021

src/lib/edje/edje_calc.c

index 614688b..0f45460 100644 (file)
@@ -818,6 +818,9 @@ _edje_part_description_apply(Edje *ed, Edje_Real_Part *ep, const char *d1, doubl
                   ted->recalc_call = ted->dirty = ted->recalc_hints = EINA_TRUE;
                   _edje_recalc(ted);
                }
+
+             edje_object_mirrored_set(ep->typedata.swallow->swallowed_object,
+                   edje_object_mirrored_get(ed->obj));
           }
      }