Do not check if we have enough space to draw (FS#731)
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
eb402b5a34
commit
8badb836c5
4
draw.c
4
draw.c
|
@ -169,10 +169,6 @@ draw_text(draw_context_t *ctx, draw_text_context_t *data,
|
|||
PangoRectangle ext;
|
||||
pango_layout_get_pixel_extents(ctx->layout, NULL, &ext);
|
||||
|
||||
/* Not enough space, draw nothing */
|
||||
if(ext.width > area.width || ext.height > area.height)
|
||||
return;
|
||||
|
||||
switch(align)
|
||||
{
|
||||
case AlignCenter:
|
||||
|
|
Loading…
Reference in New Issue