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 Eroax
parent 4d2af08807
commit 89ec9a8ac3

View file

@ -88,6 +88,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:
title = new_name title = new_name