[naviframe] Fix not to slide title if title is invisible (hidden)
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Fri, 28 Jun 2013 05:22:19 +0000 (14:22 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Mon, 1 Jul 2013 08:09:42 +0000 (17:09 +0900)
Change-Id: If1282c79f493742501189e74fd04066b1f867b11

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