mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
fix(eaxmple) fix lv_example_chart_2
This commit is contained in:
parent
a8427915c7
commit
89081c2d6e
@ -46,7 +46,7 @@ static void draw_event_cb(lv_event_t * e)
|
||||
}
|
||||
/*Hook the division lines too*/
|
||||
else if(dsc->part == LV_PART_MAIN) {
|
||||
if(dsc->line_dsc == NULL) return;
|
||||
if(dsc->line_dsc == NULL || dsc->p1 == NULL || dsc->p2 == NULL) return;
|
||||
|
||||
/*Vertical line*/
|
||||
if(dsc->p1->x == dsc->p2->x) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user