Fix the multitouch support on iOS
This commit is contained in:
@@ -3437,7 +3437,7 @@ public:
|
||||
|
||||
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
|
||||
{
|
||||
NSArray *touchArr = [touches allObjects];
|
||||
NSArray *touchArr = [[event allTouches] allObjects];
|
||||
NSInteger touchCnt = [touchArr count];
|
||||
|
||||
for(int i=0;i<touchCnt;i++)
|
||||
@@ -3472,7 +3472,7 @@ public:
|
||||
|
||||
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
|
||||
{
|
||||
NSArray *touchArr = [touches allObjects];
|
||||
NSArray *touchArr = [[event allTouches] allObjects];
|
||||
NSInteger touchCnt = [touchArr count];
|
||||
|
||||
for(int i=0;i<touchCnt;i++)
|
||||
@@ -3502,7 +3502,7 @@ public:
|
||||
|
||||
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
|
||||
{
|
||||
NSArray *touchArr = [touches allObjects];
|
||||
NSArray *touchArr = [[event allTouches] allObjects];
|
||||
NSInteger touchCnt = [touchArr count];
|
||||
|
||||
for(int i=0;i<touchCnt;i++)
|
||||
|
||||
Reference in New Issue
Block a user