anim: double

This commit is contained in:
Alastair Poole 2021-01-19 13:32:14 +00:00
parent a3f38cb7b3
commit 3ac6591638
1 changed files with 3 additions and 3 deletions

View File

@ -280,8 +280,8 @@ typedef struct {
Evas_Object *bg; Evas_Object *bg;
Evas_Object *im; Evas_Object *im;
Ecore_Animator *animator; Ecore_Animator *animator;
int pos; double pos;
int pos2; double pos2;
} Animate_Data; } Animate_Data;
static void static void
@ -341,7 +341,7 @@ about_anim(void *data)
evas_object_move(ad->lb, 0, ad->pos); evas_object_move(ad->lb, 0, ad->pos);
evas_object_show(ad->lb); evas_object_show(ad->lb);
ad->pos--; ad->pos -= 0.5;
if (ad->pos <= -oh) if (ad->pos <= -oh)
{ {