Skip to content
Snippets Groups Projects
Commit 96d591de authored by Anian Bühler's avatar Anian Bühler
Browse files

minor changes

parent f82cff42
No related branches found
No related tags found
No related merge requests found
...@@ -62,11 +62,11 @@ public class InfixBlockShape extends BlockShape { ...@@ -62,11 +62,11 @@ public class InfixBlockShape extends BlockShape {
//move away from bottom left corner //move away from bottom left corner
if (socketCounter > 0) { if (socketCounter > 0) {
gpBottom.lineTo( gpBottom.lineTo(
(float) gpBottom.getCurrentPoint().getX() + BOTTOM_SOCKET_MIDDLE_SPACER, (float) gpBottom.getCurrentPoint().getX()+ BOTTOM_SOCKET_MIDDLE_SPACER,
(float) gpBottom.getCurrentPoint().getY()); (float) gpBottom.getCurrentPoint().getY());
}else { }else {
gpBottom.lineTo( gpBottom.lineTo(
(float) gpBottom.getCurrentPoint().getX() + BOTTOM_SOCKET_SIDE_SPACER, (float) gpBottom.getCurrentPoint().getX()+ BOTTOM_SOCKET_SIDE_SPACER,
(float) gpBottom.getCurrentPoint().getY()); (float) gpBottom.getCurrentPoint().getY());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment