Tlaster
02/11/2021, 12:22 PMclampedValue
is the actual result but never being usedAndrey Kulikov
02/11/2021, 5:43 PMDoris Liu
02/11/2021, 5:47 PMTlaster
02/12/2021, 2:00 AMVsevolod Ganin
02/12/2021, 5:59 PMDoris Liu
02/12/2021, 6:08 PMVsevolod Ganin
02/12/2021, 6:15 PMupdateBounds
in my swipe-to-delete implementation and a couple of other draggable composablessnapTo
which is main instrument to implement drags. I think it still works with animateTo
and animateDecay
which I use to implement flingsDoris Liu
02/12/2021, 6:26 PMsnapTo
supercede bounds as it's a deliberate function call. One can always check bounds before calling snapTo
. But perhaps that doesn't map well with the mental model of bounds. 🙂