Skip to content

Commit d8d8ef5

Browse files
fix pattern stop location map rendering
1 parent a0e16c2 commit d8d8ef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/editor/components/map/PatternStopsLayer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default class PatternStopsLayer extends Component<Props> {
6060
patternStops.findIndex(ps => ps.id === activePatternStop.id) === -1
6161
let cpIndex = 0
6262
let psIndex = 0
63-
const patternStopsWithControlPointIndexes = patternStops.filter(ps => ps.locationId !== null || ps.locationGroupId !== null)
63+
const patternStopsWithControlPointIndexes = patternStops.filter(ps => ps.locationId === null || ps.locationGroupId === null)
6464
// Associate pattern stops with control point indices.
6565
while (controlPoints[cpIndex]) {
6666
if (controlPoints[cpIndex].pointType === POINT_TYPE.STOP) {

0 commit comments

Comments
 (0)