Make minor fix of check animation. 45/122845/2
authorOleksander Kostenko <o.kostenko@samsung.com>
Mon, 3 Apr 2017 15:17:12 +0000 (18:17 +0300)
committerDenis Dolzhenko <d.dolzhenko@samsung.com>
Tue, 4 Apr 2017 09:34:25 +0000 (02:34 -0700)
Change-Id: Id3dda33d63b59fefdcba029f856da33ab4c4db21
Signed-off-by: Oleksander Kostenko <o.kostenko@samsung.com>
res/edje/icons.edc

index dd6b3a4da617c5d39d925e3601555e27e87eb881..0b4a684e07e3c4bb879d6d97199ddd366eb7e403 100755 (executable)
@@ -384,21 +384,15 @@ collections {
          image: "check_sequence/check_18.png" COMP;
       }
       parts {
-         rect { "check.clip"; scale;
-            desc { "default"; visible: 0; }
-            desc { "show"; visible: 1; }
-         }
          part { name: "check";
             mouse_events: 0;
             scale: 1;
-            clip_to: "check.clip";
             description { state: "default" 0.0;
                min: 82 82;
                max: 82 82;
-               rel1.relative: 0.5 0.5;
-               rel2.relative: 0.5 0.5;
                aspect: 1 1;
                aspect_preference: BOTH;
+               color: 250 250 250 255;
                image.normal: "check_sequence/check_01.png";
                image.tween: "check_sequence/check_02.png";
                image.tween: "check_sequence/check_03.png";
@@ -417,33 +411,17 @@ collections {
                image.tween: "check_sequence/check_16.png";
                image.tween: "check_sequence/check_17.png";
                image.tween: "check_sequence/check_18.png";
-               image.tween: "check_sequence/check_18.png";
-               color: 250 250 250 255;
             }
-            description { state: "default" 0.1;
-               inherit: "default" 0.0;
-               image.normal: "check_sequence/check_18.png";
-               color: 250 250 250 255;
+            description { state: "anim" 0.0;
+               inherit: "default";
             }
          }
          programs {
             program { name: "show_check";
                signal: "load";
-               script {
-                  set_state(PART:"check.clip", "show", 0.0);
-                  run_program(PROGRAM:"start_check_anim");
-                  run_program(PROGRAM:"fin_check_anim");
-               }
-            }
-            program { name: "start_check_anim";
-               action: STATE_SET "default" 0.0;
-               target: "check";
-               transition: LINEAR 0.3;
-            }
-            program { name: "fin_check_anim";
-               in: ((0.32/19)*18) 0;
-               action: STATE_SET "default" 0.1;
+               action: STATE_SET "anim" 0.0; //TODO: check this animation later
                target: "check";
+               transition: LINEAR 1;
             }
          }
       }