Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/core/
Dlv_obj_scroll.c702 lv_coord_t top_diff = parent->coords.y1 + ptop - area_tmp->y1 - scroll_value->y; in scroll_area_into_view() local
705 if((top_diff >= 0 && bottom_diff >= 0)) y_scroll = 0; in scroll_area_into_view()
706 else if(top_diff > 0) { in scroll_area_into_view()
707 y_scroll = top_diff; in scroll_area_into_view()