2D Toolkit Forum

2D Toolkit => Support => Topic started by: jjv on September 05, 2014, 02:51:11 am

Title: tk2dUIScrollableArea scroll speed
Post by: jjv 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   
Title: Re: tk2dUIScrollableArea scroll speed
Post by: unikronsoftware 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.