mirror of
https://codeberg.org/StreamGraph/StreamGraph.git
synced 2024-11-13 19:49:55 +01:00
set labels to right align if the port is output
This commit is contained in:
parent
dfbb5f10cd
commit
d707d65323
1 changed files with 2 additions and 0 deletions
|
@ -135,6 +135,8 @@ func update_port(port: Port) -> void:
|
|||
var label := Label.new()
|
||||
add_child(label)
|
||||
label.text = port.label
|
||||
if port.port_type == DeckNode.PortType.OUTPUT:
|
||||
label.horizontal_alignment = HORIZONTAL_ALIGNMENT_RIGHT
|
||||
|
||||
set_slot(
|
||||
port.index,
|
||||
|
|
Loading…
Reference in a new issue