mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-01 06:07:41 +00:00
Merge branch 'master' of https://github.com/psivanov/react-native-svg into 6.0.0
This commit is contained in:
@@ -152,6 +152,7 @@ public class SvgView extends View {
|
||||
// this gesture.
|
||||
dispatch(ev, TouchEventType.END);
|
||||
mTargetTag = -1;
|
||||
mGestureStartTime = TouchEvent.UNSET;
|
||||
} else if (action == MotionEvent.ACTION_MOVE) {
|
||||
// Update pointer position for current gesture
|
||||
dispatch(ev, TouchEventType.MOVE);
|
||||
@@ -161,8 +162,6 @@ public class SvgView extends View {
|
||||
} else if (action == MotionEvent.ACTION_POINTER_UP) {
|
||||
// Exactly onw of the pointers goes up
|
||||
dispatch(ev, TouchEventType.END);
|
||||
mTargetTag = -1;
|
||||
mGestureStartTime = TouchEvent.UNSET;
|
||||
} else if (action == MotionEvent.ACTION_CANCEL) {
|
||||
dispatchCancelEvent(ev);
|
||||
mTargetTag = -1;
|
||||
|
||||
Reference in New Issue
Block a user