mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -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
|
* @param {Object} [options] the boolean operation options
|
||||||
* @return {PathItem} the resulting path item
|
* @return {PathItem} the resulting path item
|
||||||
*/
|
*/
|
||||||
subtract: function(path) {
|
subtract: function(path, options) {
|
||||||
return computeBoolean(this, path, 'subtract');
|
return computeBoolean(this, path, 'subtract', options);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue