mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Small change to CanvasDraw.
This commit is contained in:
parent
8ff04b6614
commit
136fe67917
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue