mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
BlendMode: add todo about using Item#strokeBounds instead of Item#bounds.
This commit is contained in:
parent
1c364601b4
commit
c47a18ea58
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ BlendMode = {
|
|||
// TODO: Should we remove some of the blend modes?
|
||||
// TODO: Add missing blendmodes like hue / saturation.
|
||||
process: function(documentContext, item, param) {
|
||||
// TODO: use strokeBounds
|
||||
var itemBounds = item.bounds;
|
||||
var top = Math.floor(itemBounds.top);
|
||||
var left = Math.floor(itemBounds.left);
|
||||
|
|
Loading…
Reference in a new issue