mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -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.
|
// fill.
|
||||||
if (item.blendMode !== 'normal'
|
if (item.blendMode !== 'normal'
|
||||||
|| item.opacity < 1
|
|| item.opacity < 1
|
||||||
&& !(item.segments && (!item.getFillColor()
|
&& !(item._segments && (!item.getFillColor()
|
||||||
|| !item.getStrokeColor()))) {
|
|| !item.getStrokeColor()))) {
|
||||||
var bounds = item.getStrokeBounds() || item.getBounds();
|
var bounds = item.getStrokeBounds() || item.getBounds();
|
||||||
if (!bounds.width || !bounds.height)
|
if (!bounds.width || !bounds.height)
|
||||||
|
|
Loading…
Reference in a new issue