some minor changes to spmenu_imageviewer and remove additional line when
there's an image
This commit is contained in:
parent
81f73fca14
commit
3e4e36250c
|
@ -492,8 +492,9 @@ void drawmenu(void) {
|
|||
drw_resize(drw, mw - 2 * sp - 2 * borderwidth, mh);
|
||||
}
|
||||
#if USEIMAGE
|
||||
else if (hideprompt && hideinput && hidemode && hidematchcount) {
|
||||
else if (hideprompt && hideinput && hidemode && hidematchcount && hidecaps) {
|
||||
y -= bh;
|
||||
mh = (lines + 1) * bh - bh + 2 * menumarginv;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -20,7 +20,9 @@ main() {
|
|||
--hide-left-arrow \
|
||||
--hide-right-arrow \
|
||||
--hide-prompt \
|
||||
--hide-cursor \
|
||||
--hide-input \
|
||||
--hide-caret \
|
||||
--hide-caps \
|
||||
--hide-highlighting \
|
||||
--image-size 200 \
|
||||
--generate-cache \
|
||||
|
|
Loading…
Reference in a new issue