TouchesManager should not clone touches

because they must persist during touch session. also good for performance.
This commit is contained in:
Pavel fljot 2012-03-06 00:51:25 +02:00
parent 49b1139b4f
commit 398e41f610

View file

@ -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;
}
}
}