BigW Consortium Gitlab

Commit b2aa49a5 by Gabor

lv_img bugfix: image not refreshed when upscale set

parent 9a1b8d07
......@@ -252,6 +252,9 @@ void lv_img_set_upscale(lv_obj_t * img, bool en)
lv_img_ext_t * ext = lv_obj_get_ext(img);
ext->upscale = (en == false ? 0 : 1);
/*Refresh the image with the new size*/
lv_img_set_file(img, ext->fn);
}
/*=====================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment