mirror of
https://codeberg.org/StreamGraph/StreamGraph.git
synced 2024-11-13 19:49:55 +01:00
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:
parent
4d2af08807
commit
89ec9a8ac3
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue