Fix #1634: bug in lv_tileview_scrl_signal (#1636)

This commit is contained in:
guoweilkd
2020-07-04 19:30:07 +08:00
committed by GitHub
parent e9d3001dbf
commit e6fe8436f4

View File

@@ -376,7 +376,7 @@ static lv_res_t lv_tileview_scrl_signal(lv_obj_t * scrl, lv_signal_t sign, void
if(!ext->drag_right_en && indev->proc.types.pointer.vect.x < 0 && x < -(ext->act_id.x * w)) {
lv_page_start_edge_flash(tileview, LV_PAGE_EDGE_RIGHT);
lv_obj_set_x(scrl, -ext->act_id.x * w + top);
lv_obj_set_x(scrl, -ext->act_id.x * w + left);
}
/*Apply the drag constraints*/