edje: custom state - if RTL flag is not set, return original description
authorAmitesh Singh <amitesh.sh@samsung.com>
Tue, 5 Jan 2016 01:26:57 +0000 (06:56 +0530)
committerAmitesh Singh <amitesh.sh@samsung.com>
Tue, 5 Jan 2016 01:28:35 +0000 (06:58 +0530)
@fix

src/lib/edje/edje_calc.c

index d516348..614688b 100644 (file)
@@ -277,6 +277,10 @@ _edje_get_custom_description_by_orientation(Edje *ed, Edje_Part_Description_Comm
    Edje_Part_Description_Common *ret;
    size_t memsize = 0;
 
+   /* RTL flag is not set, return original description */
+   if (!edje_object_mirrored_get(ed->obj))
+     return src;
+
    if (!(*dst))
      {
         ret = _edje_get_description_by_orientation(ed, src, dst, type);