ScrollRectMultiTouchFix.cs edited online with Bitbucket

release
PixelEnvision 2017-03-30 22:40:57 +00:00
parent 90a87e6e4d
commit 4520bf26d7
1 changed files with 0 additions and 2 deletions

View File

@ -35,10 +35,8 @@ namespace UnityEngine.UI.Extensions
/// </summary> /// </summary>
public override void OnEndDrag (UnityEngine.EventSystems.PointerEventData eventData) public override void OnEndDrag (UnityEngine.EventSystems.PointerEventData eventData)
{ {
if (pid == eventData.pointerId) {
pid = -100; pid = -100;
base.OnEndDrag (eventData); base.OnEndDrag (eventData);
}
} }
} }