We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0e16c2 commit d8d8ef5Copy full SHA for d8d8ef5
lib/editor/components/map/PatternStopsLayer.js
@@ -60,7 +60,7 @@ export default class PatternStopsLayer extends Component<Props> {
60
patternStops.findIndex(ps => ps.id === activePatternStop.id) === -1
61
let cpIndex = 0
62
let psIndex = 0
63
- const patternStopsWithControlPointIndexes = patternStops.filter(ps => ps.locationId !== null || ps.locationGroupId !== null)
+ const patternStopsWithControlPointIndexes = patternStops.filter(ps => ps.locationId === null || ps.locationGroupId === null)
64
// Associate pattern stops with control point indices.
65
while (controlPoints[cpIndex]) {
66
if (controlPoints[cpIndex].pointType === POINT_TYPE.STOP) {
0 commit comments