Touch cloning fix

This commit is contained in:
Pavel fljot 2013-06-26 16:02:43 +03:00
parent ab74d7c8fe
commit 6054878989

View file

@ -116,8 +116,8 @@ package org.gestouch.core
public function clone():Touch
{
var touch:Touch = new Touch(id);
touch._location = _location;
touch._beginLocation = _beginLocation;
touch._location = _location.clone();
touch._beginLocation = _beginLocation.clone();
touch.target = target;
touch.sizeX = sizeX;
touch.sizeY = sizeY;