We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d03a7d commit b8d6a3dCopy full SHA for b8d6a3d
src/gesturehandler.android.ts
@@ -188,8 +188,8 @@ export abstract class Handler<T extends com.swmansion.gesturehandler.GestureHand
188
const numberOfPointers = handler.getNumberOfPointers();
189
const positions = [];
190
for (let index = 0; index < numberOfPointers; index++) {
191
- positions.push(handler.getXAtIndex(index));
192
- positions.push(handler.getYAtIndex(index));
+ positions.push(layout.toDeviceIndependentPixels(handler.getXAtIndex(index)));
+ positions.push(layout.toDeviceIndependentPixels(handler.getYAtIndex(index)));
193
}
194
return {
195
// x: layout.toDeviceIndependentPixels(handler.getX()),
0 commit comments