mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-16 11:06:06 -04:00
Fix menu buttons staying highlighted when touch is released on mobile
This commit is contained in:
parent
07b56e6ba3
commit
8d3ec0faa0
@ -149,9 +149,8 @@ void Input_RemoveTouch(long id, int x, int y) {
|
|||||||
CheckBlockTap(i);
|
CheckBlockTap(i);
|
||||||
|
|
||||||
/* found the touch, remove it */
|
/* found the touch, remove it */
|
||||||
|
Pointer_SetPosition(i, -100000, -100000);
|
||||||
touches[i].type = 0;
|
touches[i].type = 0;
|
||||||
Pointers[i].x = -100000;
|
|
||||||
Pointers[i].y = -100000;
|
|
||||||
|
|
||||||
if ((i + 1) == Pointers_Count) Pointers_Count--;
|
if ((i + 1) == Pointers_Count) Pointers_Count--;
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user