forked from enlightenment/enlightenment
bg: Fix bg with single jpeg images (no edj)
When selecting a jpeg file directly as wallpaper, it will look very blurry, clearly loaded as a low-resolution image and then scaled up. Solution: don't load at size 64x64! For @OnlyHuman, thanks for the report. @fix
This commit is contained in:
parent
35febc367d
commit
da663898da
|
@ -265,6 +265,7 @@ e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition)
|
||||||
{
|
{
|
||||||
o = e_icon_add(e_comp->evas);
|
o = e_icon_add(e_comp->evas);
|
||||||
e_icon_file_key_set(o, bgfile, NULL);
|
e_icon_file_key_set(o, bgfile, NULL);
|
||||||
|
e_icon_scale_size_set(o, 0);
|
||||||
e_icon_fill_inside_set(o, 0);
|
e_icon_fill_inside_set(o, 0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue