mirror of
https://github.com/scratchfoundation/Gestouch.git
synced 2025-02-16 23:40:14 -05:00
Touch cloning fix
This commit is contained in:
parent
ab74d7c8fe
commit
6054878989
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue