Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't enlarge focused nodes. #1259

Merged
merged 2 commits into from
Apr 11, 2016
Merged

Don't enlarge focused nodes. #1259

merged 2 commits into from
Apr 11, 2016

Conversation

foot
Copy link
Contributor

@foot foot commented Apr 11, 2016

  • Calculate size based on number of nodes that come up into the
    selection area.

Fixes #1244

- Calculate size based on number of nodes that come up into the
  selection area.
@foot
Copy link
Contributor Author

foot commented Apr 11, 2016

@davkal rfr

@@ -270,7 +270,7 @@ export default class NodesChart extends React.Component {
});

// auto-scale node size for selected nodes
const selectedNodeScale = this.getNodeScale(props);
const selectedNodeScale = this.getNodeScale(Object.assign({}, props, {nodes: adjacentNodes}));

This comment was marked as abuse.

@davkal
Copy link
Contributor

davkal commented Apr 11, 2016

Otherwise, LGTM

- Tighten up method definition
@foot foot merged commit 689e06b into master Apr 11, 2016
@foot foot deleted the 1244-focused-node-size branch April 11, 2016 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants