mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-10 13:09:55 +02:00
System/Libraries/Html/Renderer: Set base context on image load
This commit is contained in:
@@ -2169,6 +2169,7 @@ U0 @fetch_images_for_page(HtmlRenderer* renderer)
|
||||
|
||||
// FIXME: Wire up animated GIF handling
|
||||
widget->ctx = @image_buffer_to_context2d(resp->body.data, resp->body.length);
|
||||
widget->base = widget->ctx;
|
||||
if (widget->ctx) {
|
||||
widget->width = widget->ctx->width;
|
||||
widget->height = widget->ctx->height;
|
||||
|
||||
Reference in New Issue
Block a user