1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-20 12:33:14 +00:00

Fix 3D Shape Edit text field cursor position changing when typing text

This commit is contained in:
Emmanouil Papadeas 2023-05-05 12:43:23 +03:00
parent e91921e832
commit cf55332f18

View file

@ -348,7 +348,8 @@ func _set_node_values(to_edit: Object, properties: Dictionary) -> void:
elif node is CheckBox:
node.pressed = value
elif node is LineEdit:
node.text = value
if node.text != value:
node.text = value
func _get_previous_node(node: Node) -> Node: