mirror of
https://github.com/scratchfoundation/Gestouch.git
synced 2025-02-16 23:40:14 -05:00
TouchesManager should not clone touches
because they must persist during touch session. also good for performance.
This commit is contained in:
parent
49b1139b4f
commit
398e41f610
1 changed files with 1 additions and 2 deletions
|
@ -103,8 +103,7 @@ package org.gestouch.core
|
|||
|
||||
public function getTouch(touchPointID:int):Touch
|
||||
{
|
||||
var touch:Touch = _touchesMap[touchPointID] as Touch;
|
||||
return touch ? touch.clone() : null;
|
||||
return _touchesMap[touchPointID] as Touch;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue