textblock_intl: increase a factor to update animation properly.

This commit is contained in:
Hermet Park 2019-12-26 17:22:10 +09:00 committed by Cedric BAIL
parent 5fe5110067
commit 7d95c2f730
1 changed files with 2 additions and 1 deletions

View File

@ -100,7 +100,7 @@ static void _cleanup(void)
static void _loop(double t, int f)
{
Evas_Coord x, y, w, h, w0, h0;
int i = 0;
static int i = 0;
eo_do(o_text, evas_obj_textblock_size_native_get(&w0, &h0));
w = w0;
@ -112,6 +112,7 @@ static void _loop(double t, int f)
eo_do(o_text,
evas_obj_position_set(x, y),
evas_obj_size_set(w, h));
++i;
FPS_STD(NAME);
}