mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Merge pull request #730 from sapics/raster.toDataURL
add param to raster.todataurl
This commit is contained in:
commit
af24af8916
1 changed files with 1 additions and 1 deletions
|
@ -496,7 +496,7 @@ var Raster = Item.extend(/** @lends Raster# */{
|
|||
return src;
|
||||
/*#*/ }
|
||||
var canvas = this.getCanvas();
|
||||
return canvas ? canvas.toDataURL() : null;
|
||||
return canvas ? canvas.toDataURL.apply(canvas, arguments) : null;
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue