mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-27 03:02:49 +01:00
mobile: Bug fix: calc ID for touches
This commit is contained in:
parent
f537378f2a
commit
a275f7e7cd
@ -30,7 +30,7 @@ func getIDFromPtr(ptr int64) int {
|
|||||||
}
|
}
|
||||||
maxID := 0
|
maxID := 0
|
||||||
for _, id := range ptrToID {
|
for _, id := range ptrToID {
|
||||||
if maxID > id {
|
if maxID < id {
|
||||||
maxID = id
|
maxID = id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user