forked from speedie/spmenu
Fix powerline cutoff when scaling an image up a lot
This commit is contained in:
parent
eb053eae23
commit
49eda6745b
|
@ -2,7 +2,7 @@
|
|||
|
||||
#if USEIMAGE
|
||||
void setimagesize(int width, int height) {
|
||||
if (!image || hideimage || height < 5 || width < 5 || width > sp.mw) {
|
||||
if (!image || hideimage || height < 5 || width < 5 || width > sp.mw - sp.bh) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue