mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 07:19:37 +03:00
[project @ 2004-05-31 21:51:35 by rjw]
History window shows the last frame of GIFs with a finite loop count, the first frame otherwise. svn path=/import/netsurf/; revision=905
This commit is contained in:
parent
b1cfda278c
commit
3f39cf8d42
@ -108,10 +108,14 @@ void nsgif_redraw(struct content *c, long x, long y,
|
||||
if (ro_gui_current_redraw_gui->option_animate_images) {
|
||||
current_frame = c->data.gif.current_frame;
|
||||
} else {
|
||||
current_frame = 0;
|
||||
current_frame = 0;
|
||||
}
|
||||
} else {
|
||||
current_frame = 0;
|
||||
if (c->data.gif.gif->loop_count == 0) {
|
||||
current_frame = 0;
|
||||
} else {
|
||||
current_frame = c->data.gif.gif->frame_count - 1;
|
||||
}
|
||||
tinct_options = (option_filter_sprites?(1<<1):0) |
|
||||
(option_dither_sprites?(1<<2):0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user