Hey everyone, I'm trying out the `rememberTransfor...
# compose
r
Hey everyone, I'm trying out the
rememberTransformableState
for panning/zooming but it's not working as the sample suggests. I copied the sample found here. Zooming and rotating works but
offsetChange
is always zero
j
I had used it recently, multitouch is working fine for me here: https://developer.android.com/jetpack/compose/gestures#multitouch
r
@jasu copy pasting that sample exactly to a new project isn't working with the panning for me, jst the zoom and rotate, the lambda always returns an offset of 0.0
j
hmm interesting. I’d suggest debugging
l
I’ve been using it without issues, but the site shows panning with one finger, but it’s two fingers for me (which is what I wanted anyways). It’s odd that it doesn’t match what the site shows.