mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-07 10:04:43 +03:00
Stop redrawing zero size images.
svn path=/trunk/netsurf/; revision=10614
This commit is contained in:
parent
c77552d9f8
commit
1fb697782a
@ -647,7 +647,7 @@ bool html_redraw_box(struct box *box,
|
||||
scale, current_background_color))
|
||||
return false;
|
||||
|
||||
if (box->object) {
|
||||
if (box->object && width != 0 && height != 0) {
|
||||
x_scrolled = x - scroll_get_offset(box->scroll_x) * scale;
|
||||
y_scrolled = y - scroll_get_offset(box->scroll_y) * scale;
|
||||
if (!content_redraw(box->object,
|
||||
|
Loading…
x
Reference in New Issue
Block a user