mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Use 0 instead of null for empty bit flag fields.
This commit is contained in:
parent
c6d96784ba
commit
ebc9bc88c4
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ var Path = this.Path = PathItem.extend({
|
|||
this._selectedSegmentCount = selected ? length : 0;
|
||||
for (var i = 0; i < length; i++)
|
||||
this._segments[i]._selectionState = selected
|
||||
? SelectionState.POINT : null;
|
||||
? SelectionState.POINT : 0;
|
||||
},
|
||||
|
||||
isFullySelected: function() {
|
||||
|
|
Loading…
Reference in a new issue