Skip to content

Commit

Permalink
Update Node.java
Browse files Browse the repository at this point in the history
  • Loading branch information
i-make-robots committed Jan 7, 2025
1 parent d93f61b commit 5e71380
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/com/marginallyclever/nodegraphcore/Node.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,9 @@ public String getUniqueName() {
public void updateBounds() {
int w=(int)rectangle.getWidth();
int h=Node.TITLE_HEIGHT;
int y=getRectangle().y;
int x=getRectangle().x;
var rect = getRectangle();
int x=rect.x;
int y=rect.y;
for(Dock<?> v : variables) {
Rectangle r = v.getRectangle();
r.y=h+y;
Expand Down

0 comments on commit 5e71380

Please sign in to comment.