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 scroll started and ended signals not being emitted properly #60

Closed HaroldLever closed 2 months ago

HaroldLever commented 2 months ago

https://github.com/SpyrexDE/SmoothScroll/assets/80692930/9b72c6be-0953-4d5d-bfcf-d7af96a1f0e2

ScrollContainer on left and SmoothScrollContainer on right.

scroll_started and scroll_ended signals will emit continuously, which should not be the way. Now it occurs only if needed.

_BTW, any_scroll_bar_dragged() does not do anything_ #61