2D Toolkit Forum
2D Toolkit => Support => Topic started by: bahaahamza on July 26, 2013, 04:34:33 pm
-
For tk2dUIScrollbar, i wanted to decrease the scroll distance when pressing up/down buttons.
So i tried to change the value of buttonUpDownScrollDistance but nothing occurred.
In the script buttonUpDownScrollDistance is not used at all, maybe it can be used in ScrollDirection().
Or is there another way to control the scroll distance when pressing up or down buttons.
Thanks.
-
Indeed. Looks like it was missed out from the ScrollDirection function.
Value = Value - CalcScrollPercentOffsetButtonScrollDistance() * dir * buttonUpDownScrollDistance;