mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 14:51:04 +02:00
fix(tray): icons ignoring scaling
This commit is contained in:
parent
72440e69c9
commit
0675b917f2
3 changed files with 17 additions and 12 deletions
|
@ -157,8 +157,7 @@ fn on_update(
|
|||
}
|
||||
|
||||
if item.icon_name.as_ref() != menu_item.icon_name() {
|
||||
match icon::get_image(&item, icon_theme, icon_size)
|
||||
{
|
||||
match icon::get_image(&item, icon_theme, icon_size) {
|
||||
Ok(image) => menu_item.set_image(&image),
|
||||
Err(_) => menu_item.set_label(label),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue