diff options
| author | Viraj Mahesh <virajmahesh@gmail.com> | 2014-03-11 02:38:11 -0700 |
|---|---|---|
| committer | Viraj Mahesh <virajmahesh@gmail.com> | 2014-03-11 02:38:11 -0700 |
| commit | a7a1b54244c91d247511309cddfc9c4c4d895a80 (patch) | |
| tree | a09a46ff03163aca8e5a8b8c8880d78e95feb566 | |
| parent | 0795c1f44ca2c6a40e6c21eeb550a577fbef0e63 (diff) | |
| download | snap-a7a1b54244c91d247511309cddfc9c4c4d895a80.tar.gz snap-a7a1b54244c91d247511309cddfc9c4c4d895a80.zip | |
Option of switching between pen trails and stage image has been implemented
Stage saves pen trails too
| -rw-r--r-- | objects.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3717,11 +3717,11 @@ SpriteMorph.prototype.doScreenshot = function (imgSource, data) { this.screenshotNames[data] = 0; } if (imgSource[0] === "pen trails") { - canvas = stage.penTrails(); + canvas = stage.trailsCanvas; } else if (imgSource[0] === "stage image") { canvas = stage.fullImageClassic(); } - costume = new Costume(canvas, data); + costume = new Costume(canvas, data).copy(); this.addCostume(costume); }; |
