draw: honor bg_resize
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
7dbd06c8ca
commit
0012b8dfc0
|
@ -354,7 +354,7 @@ draw_text(draw_context_t *ctx, font_t *font,
|
|||
default:
|
||||
break;
|
||||
}
|
||||
draw_image(ctx, x, y, area.height, pdata->bg_image);
|
||||
draw_image(ctx, x, y, pdata->bg_resize ? area.height : 0, pdata->bg_image);
|
||||
draw_image_delete(&pdata->bg_image);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue