fix: point primitive inspector inits positions
This commit is contained in:
parent
5953ff49a1
commit
3557d0dc31
|
|
@ -14,6 +14,7 @@ func _ready():
|
|||
primitive.changed.connect(_primitive_changed)
|
||||
$XBox.connect(\"value_changed\", _x_changed)
|
||||
$YBox.connect(\"value_changed\", _y_changed)
|
||||
_primitive_changed()
|
||||
|
||||
func _primitive_changed():
|
||||
var new_position : Vector2 = primitive.center
|
||||
|
|
|
|||
Loading…
Reference in a new issue