Swipe transitions

J. Landman Gay jacque at hyperactivesw.com
Sat Jul 22 14:41:02 EDT 2017


On 7/19/17 4:17 PM, Richard Gaskin via use-livecode wrote:
> J. Landman Gay wrote:
> 
>  > On 7/19/17 2:10 PM, Richard Gaskin via use-livecode wrote:
>  >> But that would only take care of the swipe of the current card.
>  >> We'd also need some way to assign the destination card for each
>  >> swipe direction.
>  >>
>  >> What should that syntax look like, and how do we discern swipe events
>  >> from others on controls within the card?
>  >
>  > lock screen for swipe effect
>  > switch pDir
>  >   case "left"
>  >     ...
>  >   case "right"
>  >     ...
>  >   case "up"
>  >     ...
>  >   case "down"
>  >     ...
>  > end switch
>  > unlock screen with swipe effect pDir
> 
> Well done. I like the simplicity of that.
> 
> I think I was originally over-thinking it, about options for specifying 
> snap-back thresholds and more.  But there's enough consistency these 
> days to decide on good defaults and just run with those.
> 
> @LC Team: Can we have that next Tuesday please?
> 

I officially asked:
<http://quality.livecode.com/show_bug.cgi?id=20141>

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list