mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -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: Should we remove some of the blend modes?
|
||||||
// TODO: Add missing blendmodes like hue / saturation.
|
// TODO: Add missing blendmodes like hue / saturation.
|
||||||
process: function(documentContext, item, param) {
|
process: function(documentContext, item, param) {
|
||||||
|
// TODO: use strokeBounds
|
||||||
var itemBounds = item.bounds;
|
var itemBounds = item.bounds;
|
||||||
var top = Math.floor(itemBounds.top);
|
var top = Math.floor(itemBounds.top);
|
||||||
var left = Math.floor(itemBounds.left);
|
var left = Math.floor(itemBounds.left);
|
||||||
|
|
Loading…
Reference in a new issue