Looking pretty snappy... noticeable that there is a native integration between Espruino and display controller.
What I notice is the push down already calls the function... I'd expect that to happen only after button release... because what happens when moving out of the button while button is pressed?
Every touch UI goes for a tap - touch and release... because the touch and move (drag/swipe) - within a defined time - is something else... BUT: touching longer than a (that configurable) defined time - long touch - is interpreted like a right-click (and disabling the drag/swipe).
The mentions above have an impact on the behavior of the slider: not 'grabing' the slider button but tapping to the left or right are interpreted as a set after release (tap). Moving out of the active element allows to cancel the touch down... ;-)
© Espruino, powered by microcosm.
Report a problem