Skip to content

Commit

Permalink
fix update (#481)
Browse files Browse the repository at this point in the history
* update and add fat jar

* fix a null pointer & update Link.jar
  • Loading branch information
jafu888 committed Jan 7, 2022
1 parent 32a07b0 commit a380cb3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 19 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified desktop/ConstraintLayoutInspector/Link.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -160,20 +160,21 @@ private void render(Graphics2D g, HashMap<String, LayoutConstraints> layoutMap,

boolean parent = (to.equals("#PARENT"));
LayoutConstraints toLayout = parent ? root : layoutMap.get(to);

DrawConnection.draw(g, set,
picker,
null,
DrawConnection.TYPE_NORMAL,
mBoundsXY,
dir,
toLayout.mBoundsXY,
toSide,
parent ? DrawConnection.DEST_PARENT :DrawConnection.DEST_NORMAL ,
margin,
margin,
false
);
if (toLayout != null) {
DrawConnection.draw(g, set,
picker,
null,
DrawConnection.TYPE_NORMAL,
mBoundsXY,
dir,
toLayout.mBoundsXY,
toSide,
parent ? DrawConnection.DEST_PARENT : DrawConnection.DEST_NORMAL,
margin,
margin,
false
);
}
}


Expand Down

0 comments on commit a380cb3

Please sign in to comment.