Skip to content

Commit

Permalink
fixes childless complex nodes being cut off
Browse files Browse the repository at this point in the history
  • Loading branch information
d2fong committed Mar 22, 2017
1 parent 1b42f47 commit f561b01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions demo/browserify-bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/sbgnStyle/glyph/entityPoolNodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ const entityPoolNodes = {
.set('fill', 'white')
.set('fill-opacity', '1');

let shapeArgs = [1, 1, nw - 2, nh - 2, 10];
let shapeArgs = [1, 2, nw - 2, nh - 5, 10];
const multimerShapeArgs = [15, 15, .93*nw, .93*nh, 10];

const uInfos = getUnitInfos(node);
Expand Down

0 comments on commit f561b01

Please sign in to comment.