netstar pushed a commit to branch master.

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

commit cf4a8f7e8ad33d26d2ccd2352fca13501f437dc2
Author: Alastair Poole <nets...@gmail.com>
Date:   Wed Sep 9 13:57:24 2020 +0100

    clouds: my attempt.
---
 data/images/clo.png  | Bin 121369 -> 2264326 bytes
 src/bin/ui/ui_util.c |   4 ++--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/data/images/clo.png b/data/images/clo.png
index 4027581..dfba7bd 100644
Binary files a/data/images/clo.png and b/data/images/clo.png differ
diff --git a/src/bin/ui/ui_util.c b/src/bin/ui/ui_util.c
index 755f21b..1b60596 100644
--- a/src/bin/ui/ui_util.c
+++ b/src/bin/ui/ui_util.c
@@ -521,11 +521,11 @@ _anim_clouds(void *data)
    cpu = (ui->cpu_usage / 10) > 0 ? ui->cpu_usage / 10  :  1;
 
    evas_object_resize(anim->im, iw, wh);
-   evas_object_image_fill_set(anim->im, anim->pos, 0, iw, wh);
+   evas_object_image_fill_set(anim->im, anim->pos, 0, iw, ih);
    anim->pos += cpu;
 
    evas_object_resize(anim->bg, iw, wh);
-   evas_object_image_fill_set(anim->bg, anim->bg_pos, 0, iw, wh);
+   evas_object_image_fill_set(anim->bg, anim->bg_pos, 0, iw, ih);
    anim->bg_pos++;
 
    t = time(NULL);

-- 


Reply via email to