From a275f7e7cd36a506c173d4c0727b09a94948b946 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 26 Jun 2016 16:18:08 +0900 Subject: [PATCH] mobile: Bug fix: calc ID for touches --- mobile/touches_ios.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/touches_ios.go b/mobile/touches_ios.go index d536ed516..47c1b3d52 100644 --- a/mobile/touches_ios.go +++ b/mobile/touches_ios.go @@ -30,7 +30,7 @@ func getIDFromPtr(ptr int64) int { } maxID := 0 for _, id := range ptrToID { - if maxID > id { + if maxID < id { maxID = id } }