From 89ec9a8ac3337340206d366b71e4177b28de2c39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Mon, 22 Jan 2024 08:06:23 +0000 Subject: [PATCH] fix nodes resizing on port update (#55) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/55 Co-authored-by: Lera ElvoƩ Co-committed-by: Lera ElvoƩ --- graph_node_renderer/deck_node_renderer_graph_node.gd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/graph_node_renderer/deck_node_renderer_graph_node.gd b/graph_node_renderer/deck_node_renderer_graph_node.gd index f985006..76f2322 100644 --- a/graph_node_renderer/deck_node_renderer_graph_node.gd +++ b/graph_node_renderer/deck_node_renderer_graph_node.gd @@ -87,6 +87,9 @@ func _on_node_ports_updated() -> void: for port in node.get_all_ports(): update_port(port) + + await get_tree().process_frame + size = Vector2() func _on_node_renamed(new_name: String) -> void: