mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-01 02:31:04 +02:00
fix(launcher): some icons displaying too large
This commit is contained in:
parent
53adaa846c
commit
65c5d391d9
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ pub fn get_icon(theme: &IconTheme, app_id: &str, size: i32) -> Option<Pixbuf> {
|
||||||
|
|
||||||
match icon_location {
|
match icon_location {
|
||||||
Some(IconLocation::Theme(icon_name)) => {
|
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 {
|
match icon {
|
||||||
Ok(icon) => icon,
|
Ok(icon) => icon,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue