Skip to content

Commit

Permalink
Highlight a single unconnected node on hover.
Browse files Browse the repository at this point in the history
Wasn't happening before.
  • Loading branch information
foot committed Jan 13, 2016
1 parent 14899ad commit 3c5e357
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/app/scripts/stores/app-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,7 @@ export class AppStore extends Store {
getHighlightedNodeIds() {
if (mouseOverNodeId) {
const adjacency = this.getAdjacentNodes(mouseOverNodeId);
if (adjacency.size) {
return _.union(adjacency.toJS(), [mouseOverNodeId]);
}
return _.union(adjacency.toJS(), [mouseOverNodeId]);
}
if (mouseOverEdgeId) {
return mouseOverEdgeId.split(EDGE_ID_SEPARATOR);
Expand Down

0 comments on commit 3c5e357

Please sign in to comment.