Author Topic: Problem while dragging panels  (Read 4825 times)

Alessaint

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 67
    • View Profile
Problem while dragging panels
« 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.

dlewis

  • Guest
Re: Problem while dragging panels
« Reply #1 on: May 20, 2013, 06:16:47 AM »
Turn on smoothDragStart on the panel

Alessaint

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 67
    • View Profile
Re: Problem while dragging panels
« Reply #2 on: May 20, 2013, 06:18:39 AM »
Great! Thanks! :)