fix touch slide deltaX/deltaY not resetting
This commit is contained in:
@@ -550,5 +550,8 @@ TouchState touchPanelRead()
|
||||
internalTouchState.event = TE_SLIDE_END;
|
||||
}
|
||||
}
|
||||
return internalTouchState;
|
||||
TouchState ret = internalTouchState;
|
||||
internalTouchState.deltaX = 0;
|
||||
internalTouchState.deltaY = 0;
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user