fix(Tray): big icon
This commit is contained in:
parent
dc9fe04d11
commit
aeec80f375
|
@ -209,7 +209,7 @@ waybar::modules::SNI::Item::getIconByName(std::string name, int request_size) {
|
||||||
if (size == request_size || size == -1) {
|
if (size == request_size || size == -1) {
|
||||||
tmp_size = request_size;
|
tmp_size = request_size;
|
||||||
break;
|
break;
|
||||||
} else if (size < request_size || size > tmp_size) {
|
} else if (size < request_size || (size > tmp_size && tmp_size > 0)) {
|
||||||
tmp_size = size;
|
tmp_size = size;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue