First I would like to say swipes are awesome! Thanks @clydebarrow and others for getting them working!!! The effect is very cool when used with slide animation like this.
on_swipe_right:
then:
- logger.log: "Right Swipe detected - Sliding page over to the right"
- lvgl.page.next:
animation: OUT_RIGHT
time: 300ms
The problem is if you finger swipes across a button the button is also triggered.
I looked in the logs and both happen at the same time. But the Swipe happens first. Would it be possible to have “on_short_click:” disabled for the deration of the swipe or even just for 50ms or so after the swipe starts?
[14:54:00][D][main:069]: Right Swipe detected - Sliding page over to the right
[14:54:00][D][main:018]: Short click detected - turning on local light
[14:54:00][D][light:036]: 'local_light_button_1' Setting:
[14:54:00][D][light:047]: State: ON