mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-28 00:42:54 -05:00
Boolean: Pass on options in PathItem#subtract(path, options)
Relates to #1221
This commit is contained in:
parent
7e8e04351f
commit
dd56f86679
1 changed files with 2 additions and 2 deletions
|
@ -1077,8 +1077,8 @@ PathItem.inject(new function() {
|
|||
* @param {Object} [options] the boolean operation options
|
||||
* @return {PathItem} the resulting path item
|
||||
*/
|
||||
subtract: function(path) {
|
||||
return computeBoolean(this, path, 'subtract');
|
||||
subtract: function(path, options) {
|
||||
return computeBoolean(this, path, 'subtract', options);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue