BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lvgl
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
lvgl
Commits
b2aa49a5
Commit
b2aa49a5
authored
Jan 09, 2017
by
Gabor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lv_img bugfix: image not refreshed when upscale set
parent
9a1b8d07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
lv_img.c
lv_objx/lv_img.c
+3
-0
No files found.
lv_objx/lv_img.c
View file @
b2aa49a5
...
@@ -252,6 +252,9 @@ void lv_img_set_upscale(lv_obj_t * img, bool en)
...
@@ -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
);
lv_img_ext_t
*
ext
=
lv_obj_get_ext
(
img
);
ext
->
upscale
=
(
en
==
false
?
0
:
1
);
ext
->
upscale
=
(
en
==
false
?
0
:
1
);
/*Refresh the image with the new size*/
lv_img_set_file
(
img
,
ext
->
fn
);
}
}
/*=====================
/*=====================
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment