Fix menu icons that were sometimes too small.
[GB.GTK] * BUG: Fix menu icons that were sometimes too small. [GB.GTK3] * BUG: Fix menu icons that were sometimes too small.
This commit is contained in:
parent
e5cc73ee61
commit
dd40941136
1 changed files with 2 additions and 1 deletions
|
@ -436,7 +436,8 @@ void gMenu::updatePicture()
|
|||
return;
|
||||
}
|
||||
|
||||
size = (gDesktop::scale() * 2 + 1) & ~7;
|
||||
gtk_widget_get_size_request(image, NULL, &size);
|
||||
size = size & ~3;
|
||||
|
||||
pic = _picture->stretch(size, size, true);
|
||||
if (_disabled)
|
||||
|
|
Loading…
Reference in a new issue