Hello, guys! Why dont we put this code inside SpringPanel script?
if (mDrag != null)
{
mDrag.UpdateScrollbars(false);
if (mDrag.restrictWithinPanel)
{
mDrag.RestrictWithinBounds(true);
}
}
So - if we use UICenterOnClick - it does not fly away from bounds!