Closed luiisca closed 3 weeks ago
there is another more subtle contributor to this issue, dragAmount.x.toInt()
. This toInt()
truncates Floats into jsut their natural part, so 0.5f
becomes 0
, causing this small drags at the bottom to be rounded to 0, thus not moving the elmet at all
b/c it stops updating
crrPoint
on each drag creating a greater distance between pointer and element, on drag upcrrPoint
will finally update but with a value that creates a feeling of disconnect that can cause a bad user experience