Re: Dictionary Entry For TouchMove

2018-03-12 Thread Brian Milby via use-livecode
PR submitted to clarify the touchMove dictionary entry: https://github.com/livecode/livecode/pull/6413 On Mon, Mar 12, 2018 at 5:24 PM, Brian Milby wrote: > Short answer, you need to track the location of each touch yourself and do > the math. > > Check out this piece of code: > https://raw.gith

Re: Dictionary Entry For TouchMove

2018-03-12 Thread Brian Milby via use-livecode
Short answer, you need to track the location of each touch yourself and do the math. Check out this piece of code: https://raw.githubusercontent.com/bwmilby/lc-misc/master/PinchZoom/pinchzoom.livecodescript That is a piece of code that I translated into LCS that deals with tracking two touch poin

Dictionary Entry For TouchMove

2018-03-12 Thread Sannyasin Brahmanathaswami via use-livecode
I have a group control (made up smaller groups) they I want users to scroll vertically. And the sub-groups, which want the user to scroller horizontally. My current thinking is to turn off scrollers until we get swipe direction, and turn them on, "mid-swipe" simply: how do you know if touchMove