Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Alessaint on May 20, 2013, 05:44:26 AM

Title: Problem while dragging panels
Post by: Alessaint on May 20, 2013, 05:44:26 AM
Hi,

I've come across a problem that's most likely related to android system itself - I was wondering however if there was some possible workaround in NGUI.

Basically what happens is that when using draggable panels (even the ngui example scene) I touch the panel and start moving the finger very slowly. For a while there is no reaction and then suddenly the panel "jumps" base on the distance I covered since the finger started moving.

It seems as if the system ignores touch movement until the distance covered is more then X and after that in the first following frame it reports touch delta as X - hence the sudden "jump".

Have you noticed this behavior? Is there anything to get rid of this?

Thanks.
Title: Re: Problem while dragging panels
Post by: dlewis on May 20, 2013, 06:16:47 AM
Turn on smoothDragStart on the panel
Title: Re: Problem while dragging panels
Post by: Alessaint on May 20, 2013, 06:18:39 AM
Great! Thanks! :)