mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
add param to raster.todataurl
This commit is contained in:
parent
4044089d0e
commit
d99b2be49a
1 changed files with 1 additions and 1 deletions
|
@ -462,7 +462,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