edje: custom state - if RTL flag is not set, return original description

@fix
This commit is contained in:
Amitesh Singh 2016-01-05 06:56:57 +05:30
parent 895008cfaa
commit f5c4cd2f7f
1 changed files with 4 additions and 0 deletions

View 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);