1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Fix ease type and interpolation not remembering their selected options

This commit is contained in:
Emmanouil Papadeas 2023-07-04 13:58:20 +03:00
parent c2481b6279
commit 1372d12a8f

View file

@ -129,6 +129,8 @@ func _refresh_properties(idx: int):
if properties[idx]["range_node"].value != final_value.value:
final_value.value = properties[idx]["range_node"].value
$"%Name".text = property_list.get_item_text(idx)
$"%EaseType".select($"%EaseType".get_item_index(properties[idx]["ease_type"]))
$"%TransitionType".select($"%TransitionType".get_item_index(properties[idx]["transition_type"]))
initial_value.connect("value_changed", self, "_on_Initial_value_changed")
final_value.connect("value_changed", self, "_on_Final_value_changed")