Skip to content

Commit

Permalink
fix(renderer): Fix bug with sorting focused/unfocused points
Browse files Browse the repository at this point in the history
  • Loading branch information
David Emory committed Jul 18, 2018
1 parent 27c8905 commit ea80859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/renderer/default-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class DefaultRenderer extends Renderer {
const unfocusedPoints = []
forEach(network.graph.vertices, vertex => {
vertex.point.clearRenderData()
if (!vertex.point.isFocused()) focusedPoints.push(vertex.point)
if (!vertex.point.isFocused()) unfocusedPoints.push(vertex.point)
else focusedPoints.push(vertex.point)
})

Expand Down

0 comments on commit ea80859

Please sign in to comment.