Small change to CanvasDraw.

This commit is contained in:
Jonathan Puckey 2011-03-03 02:25:09 +01:00
parent 8ff04b6614
commit 136fe67917

View file

@ -18,7 +18,7 @@ new function() {
&& !(item.segments && (!item.fillColor || !item.strokeColor))
) {
var bounds = item.strokeBounds;
if (!item.bounds.width || !item.bounds.height)
if (!bounds.width || !bounds.height)
return;
// Floor the offset and ceil the size, so we don't cut off any