fix nodes resizing on port update (#55)

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/55
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
This commit is contained in:
Lera Elvoé 2024-01-22 08:06:23 +00:00 committed by yagich
parent bb7b7d0adb
commit cb4a83a2f8

View file

@ -87,6 +87,9 @@ func _on_node_ports_updated() -> void:
for port in node.get_all_ports(): for port in node.get_all_ports():
update_port(port) update_port(port)
await get_tree().process_frame
size = Vector2()
func _on_node_renamed(new_name: String) -> void: func _on_node_renamed(new_name: String) -> void: