1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-07-01 10:41:03 +02:00

fix(launcher): some icons displaying too large

This commit is contained in:
Jake Stanger 2022-08-14 19:45:10 +01:00
parent 53adaa846c
commit 65c5d391d9
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61

View file

@ -129,7 +129,7 @@ pub fn get_icon(theme: &IconTheme, app_id: &str, size: i32) -> Option<Pixbuf> {
match icon_location {
Some(IconLocation::Theme(icon_name)) => {
let icon = theme.load_icon(&icon_name, size, IconLookupFlags::empty());
let icon = theme.load_icon(&icon_name, size, IconLookupFlags::FORCE_SIZE);
match icon {
Ok(icon) => icon,