Hello Guest

Author Topic: tk2dUIScrollableArea scroll speed  (Read 3348 times)

jjv

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 8
    • View Profile
tk2dUIScrollableArea scroll speed
« on: September 05, 2014, 02:51:11 am »
Hi there,

Is there a way to control the speed at which the scrolling happening during a swipe? I put together scrollable area that almost fit the entire screen and you always see one and a half or one and two halfs of UIItems inside the area. But the default scrolling speed doesn't feel natural.

Thanks   

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: tk2dUIScrollableArea scroll speed
« Reply #1 on: September 05, 2014, 10:06:56 am »
The scroll speed is meant to be synchronized to your finger during the swipe. If you want to change that behaviour you'll have to do it in the code - tk2dUIScrollableArea.BackgroundOverUpdate. DestValue determines how much you've dragged your finger from the start position.