Home
last modified time | relevance | path

Searched refs:top_diff (Results 1 – 1 of 1) sorted by relevance

/lvgl-3.5.0/src/core/
Dlv_obj_scroll.c706 lv_coord_t top_diff = parent->coords.y1 + ptop - area_tmp->y1 - scroll_value->y; in scroll_area_into_view() local
709 if((top_diff >= 0 && bottom_diff >= 0)) y_scroll = 0; in scroll_area_into_view()
710 else if(top_diff > 0) { in scroll_area_into_view()
711 y_scroll = top_diff; in scroll_area_into_view()