SpyrexDE / SmoothScroll

Addon for the Godot Game Engine that adds a SmoothScrollContainer.
https://spyrexde.github.io/SmoothScroll/
MIT License
144 stars 13 forks source link

Clean up bounce function #21

Closed HaroldLever closed 1 year ago

HaroldLever commented 1 year ago

Rewrite the bounce function, yet the effect is still the same as before. Calculate position where content will stop at in a more accurate way. Add more comments to explain.