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
57619fca
Commit
57619fca
authored
Oct 10, 2017
by
Gabor Kiss-Vamosi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a style refresh issue
parent
74800973
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
lv_obj.c
lv_obj/lv_obj.c
+4
-1
No files found.
lv_obj/lv_obj.c
View file @
57619fca
...
...
@@ -808,6 +808,9 @@ void lv_obj_set_style(lv_obj_t * obj, lv_style_t * style)
/*Send a signal about style change to every children with NULL style*/
lv_child_refr_style
(
obj
);
/*Notify the object about the style change too*/
lv_obj_refr_style
(
obj
);
}
/**
...
...
@@ -1526,7 +1529,7 @@ static void lv_child_refr_style(lv_obj_t * obj)
while
(
child
!=
NULL
)
{
if
(
child
->
style_p
==
NULL
)
{
lv_child_refr_style
(
child
);
/*Check children too*/
lv_obj_refr_style
(
obj
);
/*Send a style change signal to the object
*/
lv_obj_refr_style
(
child
);
/*Notify the child about the style change
*/
}
else
if
(
child
->
style_p
->
glass
)
{
/*Children with 'glass' parent might be effected if their style == NULL*/
lv_child_refr_style
(
child
);
...
...
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