Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit 807f461

Browse files
authored
Merge pull request #171 from jiangzhen3s/patch-3
修复scale无法旋转问题
2 parents 9aabbb2 + 19ec533 commit 807f461

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Runtime/gestures/scale.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public _LineBetweenPointers(
9393
int pointerStartId = 0,
9494
Offset pointerEndLocation = null,
9595
int pointerEndId = 1) {
96-
pointerStartLocation = pointerEndLocation ?? Offset.zero;
96+
pointerStartLocation = pointerStartLocation ?? Offset.zero;
9797
pointerEndLocation = pointerEndLocation ?? Offset.zero;
9898

9999
D.assert(pointerStartId != pointerEndId);
@@ -409,4 +409,4 @@ public override string debugDescription {
409409
get { return "scale"; }
410410
}
411411
}
412-
}
412+
}

0 commit comments

Comments
 (0)