netstar pushed a commit to branch master.

http://git.enlightenment.org/apps/evisum.git/commit/?id=3ac659163828e06ad2573f75e25590c3ad884a79

commit 3ac659163828e06ad2573f75e25590c3ad884a79
Author: Alastair Poole <nets...@gmail.com>
Date:   Tue Jan 19 13:32:14 2021 +0000

    anim: double
---
 src/bin/ui/ui_util.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/ui/ui_util.c b/src/bin/ui/ui_util.c
index 90d71b7..3e17408 100644
--- a/src/bin/ui/ui_util.c
+++ b/src/bin/ui/ui_util.c
@@ -280,8 +280,8 @@ typedef struct {
    Evas_Object    *bg;
    Evas_Object    *im;
    Ecore_Animator *animator;
-   int             pos;
-   int             pos2;
+   double          pos;
+   double          pos2;
 } Animate_Data;
 
 static void
@@ -341,7 +341,7 @@ about_anim(void *data)
    evas_object_move(ad->lb, 0, ad->pos);
    evas_object_show(ad->lb);
 
-   ad->pos--;
+   ad->pos -= 0.5;
 
    if (ad->pos <= -oh)
      {

-- 


Reply via email to