Beta 17: Set X & Y Origin on Multitouch+scrolling
When you set the X and Y Origin on the multitouch object, it works only if you are not using and frame scrolling. However when the frame scrolls the following does not work:
- Set drag X origin of touch 0 to XTouchOrigin("...",0) + 20
- Set drag Y origin of touch 0 to YTouchOrigin("...",0) + 20
To make it work I have to do this:
- Set drag X origin of touch 0 to XTouchOrigin("...",0) + 20 - X Left Frame
- Set drag Y origin of touch 0 to YTouchOrigin("...",0) + 20 - Y Top Frame
The frame position is not being taken into account.
Re: Beta 17: Set X & Y Origin on Multitouch+scrolling
Corrected. In fact it was substracting the Y position of the window to the X coordinate.
Re: Beta 17: Set X & Y Origin on Multitouch+scrolling
Ah, good to know. Thanks Francois.