Change LV_EVENT_SHORT_CLICKED threshold time?

How can I change the threshold time after which LV_EVENT_SHORT_CLICKED is no longer triggered?

I have implemented panels that can be dragged around as well as clicked, and when they are dragged fast enough, I always get a short click event which is not desired. I could probably discard those events if the position has changed, but I would prefer them not to be triggered in the first place. The threshold time seems much too long. How can I change it?

What MCU/Processor/Board and compiler are you using?


What LVGL version are you using?


What do you want to achieve?

fast drag and drop of an object should not trigger short click when released