2D Toolkit Forum

2D Toolkit => Support => Topic started by: zblack on November 24, 2017, 10:50:29 pm

Title: Bug fix for tk2dUIScrollableArea
Post by: zblack on November 24, 2017, 10:50:29 pm
In the function BackgroundButtonRelease(), the following line should be added right after tk2dUIManager.Instance.OnInputUpdate -= BackgroundOverUpdate;

swipeCurrVelocity = 0;

Without it, child uiItems will get un-pressed by tk2dUIManager's OverrideClearAllChildrenPresses() if you try to click after scrolling.
Title: Re: Bug fix for tk2dUIScrollableArea
Post by: unikronsoftware on December 05, 2017, 06:13:35 pm
Cheers for that, I shall test and merge in the next update.

Update: It seems to work well, included in tk2d 2.5.8.8. Thanks.