Allow icons to be drawn when !lines
This commit is contained in:
parent
2b1e5a1be1
commit
8549c8415e
|
@ -174,7 +174,7 @@ int drawitemtext(struct item *item, int x, int y, int w) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#if USEIMAGE
|
#if USEIMAGE
|
||||||
if (!hideimage && !imagetype && lines) {
|
if (!hideimage && !imagetype) {
|
||||||
draw_rect(draw, x, y, w, sp.bh, 1, 1, fgcol, bgcol, fga, bga);
|
draw_rect(draw, x, y, w, sp.bh, 1, 1, fgcol, bgcol, fga, bga);
|
||||||
int nx = draw_icon(item, x, y + sp.lrpad / 4, sp.bh - sp.lrpad / 2, sp.bh - sp.lrpad / 2);
|
int nx = draw_icon(item, x, y + sp.lrpad / 4, sp.bh - sp.lrpad / 2, sp.bh - sp.lrpad / 2);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue