BlendMode: add todo about using Item#strokeBounds instead of Item#bounds.

This commit is contained in:
Jonathan Puckey 2011-02-25 13:57:01 +01:00
parent 1c364601b4
commit c47a18ea58

View file

@ -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);