forked from speedie/spmenu
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);
|
drw_resize(drw, mw - 2 * sp - 2 * borderwidth, mh);
|
||||||
}
|
}
|
||||||
#if USEIMAGE
|
#if USEIMAGE
|
||||||
else if (hideprompt && hideinput && hidemode && hidematchcount) {
|
else if (hideprompt && hideinput && hidemode && hidematchcount && hidecaps) {
|
||||||
y -= bh;
|
y -= bh;
|
||||||
|
mh = (lines + 1) * bh - bh + 2 * menumarginv;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,9 @@ main() {
|
||||||
--hide-left-arrow \
|
--hide-left-arrow \
|
||||||
--hide-right-arrow \
|
--hide-right-arrow \
|
||||||
--hide-prompt \
|
--hide-prompt \
|
||||||
--hide-cursor \
|
--hide-input \
|
||||||
|
--hide-caret \
|
||||||
|
--hide-caps \
|
||||||
--hide-highlighting \
|
--hide-highlighting \
|
||||||
--image-size 200 \
|
--image-size 200 \
|
||||||
--generate-cache \
|
--generate-cache \
|
||||||
|
|
Loading…
Reference in a new issue