contactjs icon indicating copy to clipboard operation
contactjs copied to clipboard

DualPointerGesture GestureEventData: recalculate global parameters

Open biodiv opened this issue 2 years ago • 0 comments

Scenario: user pans element with one finger to another place. Then adds second finger and pinches. The GestureEventData.global.scale is then sometimes off because the initial position of the first finger is used in the calculation. Using the position of the finger when the gesture (pinch) is detected for the first time instead of when the pointer hit the surface for the first time for GestureEventData.global should fix this problem.

biodiv avatar Aug 04 '22 08:08 biodiv