Set DoubleClickInterval very low!

Richard Gaskin ambassador at fourthworld.com
Wed Aug 3 16:06:56 EDT 2016


Sannyasin Brahmanathaswami wrote:

 > For Mobile newbies
 >
 > Is your Mobile App Slow to Respond to Taps?
 >
 > the default doubleclickinterval for LC is 800 milliseconds. This is
 > nearly 1 whole second the engine waits before doing anything with
 > your click/tap.
 >
 > This carries over to your mobile app. No wonder the app feels
 > sluggish and doesn't feel like it gets the user's taps
 >
 > do this
 >
 > on preopenstack
 > set the doubleclickinterval to 100
 > # other initializations…
 > end preopenstack
 >
 > At least in our new app, it suddenly came alive!


The doubleClickInterval governs the durations between two clicks to 
determine if the pair of clicks should be interpreted as a double-click.

With any single-click gesture there is of course no interval, so any 
effect you may see with changing the doubleClickInterval with any 
single-click gesture would be a bug and should be reported with a recipe 
that will let the team fix it quickly.

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list