Skip to content

Commit

Permalink
Fix: minOpen is true will drop a piece
Browse files Browse the repository at this point in the history
  • Loading branch information
susiwen8 committed Feb 14, 2020
1 parent 8028f41 commit ab47a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/visualMap/PiecewiseModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ var resetMethods = {

if (thisOption.minOpen) {
pieceList.push({
index: index++,
index: index,
interval: [-Infinity, dataExtent[0]],
close: [0, 0]
});
Expand Down

0 comments on commit ab47a24

Please sign in to comment.