There is some confusion about its trigger logic of LV_EVENT_SHORT_CLICKED
event
in lvgl v7.0.2, for LV_EVENT_SHORT_CLICKED
event ,the trigger logic code is follow
if(proc->long_pr_sent == 0 && proc->types.pointer.drag_in_prog == 0) {
lv_event_send(indev_obj_act, LV_EVENT_SHORT_CLICKED, NULL);
if(indev_reset_check(proc)) return;
}
Why is there no criterion for point movement?If the pressing time is short, but the mouse has moved a lot during that time, and drag is not enabled, is that a short click?Reasonable?