SpyrexDE / SmoothScroll

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

Fix dragging offset and simplify damping formula #33

Closed HaroldLever closed 9 months ago

HaroldLever commented 9 months ago

I found there was an offset issue. Once over dragged, at the first frame, content would appear at wrong position. Offset Issue

Also, I simplify the damping formula. Sorry for frequently committing PR for the same function.