1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix GraphNode not adding seperation after the first node

Fixes #29446
This commit is contained in:
Bojidar Marinov
2019-06-04 16:05:23 +03:00
parent 4b399034aa
commit 8a1a067b91
2 changed files with 7 additions and 9 deletions

View File

@@ -159,9 +159,7 @@ void GraphNode::_resort() {
fit_child_in_rect(c, r);
cache_y.push_back(vofs + size.y * 0.5);
if (vofs > 0)
vofs += sep;
vofs += size.y;
vofs += size.y + sep;
}
update();