Skip to content

Commit 0bae476

Browse files
committed
animgif fix
1 parent ab9c42e commit 0bae476

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/graphics.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,9 +1444,10 @@ int gfx_frame_anim(img_t img)
14441444
}
14451445

14461446
}
1447-
if (ag->loop != -1)
1447+
if (ag->loop != -1) {
14481448
anim_frame(ag);
1449-
1449+
ag->delay = timer_counter;
1450+
}
14501451
return 1;
14511452
}
14521453

0 commit comments

Comments
 (0)