mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Fix accidental internal bean access to #segments.
This commit is contained in:
parent
ebdf5a2dfd
commit
ef0347a6bc
1 changed files with 1 additions and 1 deletions
|
@ -671,7 +671,7 @@ var Item = this.Item = Base.extend({
|
|||
// fill.
|
||||
if (item.blendMode !== 'normal'
|
||||
|| item.opacity < 1
|
||||
&& !(item.segments && (!item.getFillColor()
|
||||
&& !(item._segments && (!item.getFillColor()
|
||||
|| !item.getStrokeColor()))) {
|
||||
var bounds = item.getStrokeBounds() || item.getBounds();
|
||||
if (!bounds.width || !bounds.height)
|
||||
|
|
Loading…
Reference in a new issue