I’m using `pointerInput` and `graphicsLayer` to im...
# compose
j
I’m using
pointerInput
and
graphicsLayer
to implement 360 degree scrolling on a composable (using translationX and translationY). It seems to work but I can scroll the composable infinitely (bringing it completely out of the screen), how is it possible to compute the actual bounds of the composable so that I can stop the translation when the bounds have been reached?
c
Are you only doing translation?
j
translation + scaling