Skip to content

Commit

Permalink
take scale from prop
Browse files Browse the repository at this point in the history
  • Loading branch information
rhalff committed Sep 29, 2016
1 parent f41f081 commit 4a88197
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Node/createPortViews.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
// Ports
export default function createPortViews(type, ports) {
const {
app,
scale,
graph,
highlightPort,
node,
Expand All @@ -22,7 +22,7 @@ export default function createPortViews(type, ports) {
const info = ports[key]

const props = {
scale: app.state.scale,
scale,
graph,
node,
key: `${nodeID}.${type}.${info.label}`,
Expand Down

0 comments on commit 4a88197

Please sign in to comment.