1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

chore(slider): fix warning

This commit is contained in:
Gabor Kiss-Vamosi 2022-01-08 13:57:58 +01:00
parent bfc8edf802
commit 0a5a07278e

View File

@ -119,7 +119,6 @@ static void lv_slider_event(const lv_obj_class_t * class_p, lv_event_t * e)
/*There's still a chance that there is a hit if there is another knob*/
if((info->res == false) && (type == LV_SLIDER_MODE_RANGE)) {
lv_area_t a;
lv_area_copy(&a, &slider->left_knob_area);
lv_area_increase(&a, ext_click_area, ext_click_area);
info->res = _lv_area_is_point_on(&a, info->point, 0);