dphfox / Fusion

A modern reactive UI library, built specifically for Roblox and Luau.
https://elttob.uk/Fusion/
MIT License
530 stars 91 forks source link

Fix to ensure springs propogate their final state before they sleep #316

Closed Raild3x closed 3 months ago

Raild3x commented 3 months ago

Currently Springs internally have their proper value, but they sometimes dont send out the value they have before they sleep, resulting in a disconnect.

This change just ensures that the final value is properly propogated out before sleeping the spring.