Merge pull request from paulkaplan/fix-duplicate-drag

Fix dragging duplicated sprites
This commit is contained in:
Paul Kaplan 2018-01-12 14:49:27 -05:00 committed by GitHub
commit f12d825a5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -831,7 +831,6 @@ class RenderedTarget extends Target {
newTarget.effects = JSON.parse(JSON.stringify(this.effects));
newTarget.variables = JSON.parse(JSON.stringify(this.variables));
newTarget.lists = JSON.parse(JSON.stringify(this.lists));
newTarget.initDrawable();
newTarget.updateAllDrawableProperties();
newTarget.goBehindOther(this);
return newTarget;