[naviframe] Fix not to slide title if title is invisible (hidden)
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / naviframe.edc
index 7dbe5c7..b4030f2 100644 (file)
          public start_slide(val) {
             new Float:len;
             new buf[128];
+            new st[31];
+            new Float:vl;
+            get_state(PART:"title_bg", st, 30, vl);
+            if (!strcmp(st, "hide"))
+               return;
 
             // Title Text
             if (val == 0) {
          public start_slide(val) {
             new Float:len;
             new buf[128];
+            new st[31];
+            new Float:vl;
+            get_state(PART:"title_bg", st, 30, vl);
+            if (!strcmp(st, "hide"))
+               return;
 
             set_int(title_slide_count, get_int(title_slide_count) + 1);