Fix menu buttons staying highlighted when touch is released on mobile

This commit is contained in:
UnknownShadow200 2020-02-07 19:23:11 +11:00
parent 07b56e6ba3
commit 8d3ec0faa0

View File

@ -149,9 +149,8 @@ void Input_RemoveTouch(long id, int x, int y) {
CheckBlockTap(i);
/* found the touch, remove it */
Pointer_SetPosition(i, -100000, -100000);
touches[i].type = 0;
Pointers[i].x = -100000;
Pointers[i].y = -100000;
if ((i + 1) == Pointers_Count) Pointers_Count--;
return;