react-native-easy-gestures icon indicating copy to clipboard operation
react-native-easy-gestures copied to clipboard

onEnd styled parameter swaps index position of rotate & scale in transform array

Open RahulMore-Codes opened this issue 3 years ago • 0 comments

Hello, I'm just trying to retrieve transform's scale and rotate individually with their index position with 'onEnd' props's 'styled' parameter, in the process im facing problem below. Initially when does gesture with single touch the 'styled' parameter of 'onEnd' function gives 'transform' value = transform: [{rotate: value}, {scale: value}] but when does gesture with two touch the 'transform' array changes index position of scale and rotate that is = transform: [{scale: value}, {rotate: value}].

Although, with some conditions im able to extract values but it will be easier if it would be fixed. Thank you for this awesome package 😉.

RahulMore-Codes avatar Dec 29 '21 11:12 RahulMore-Codes