From 1372d12a8f5501ab56158bc29e78e0e9b80679d3 Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas Date: Tue, 4 Jul 2023 13:58:20 +0300 Subject: [PATCH] Fix ease type and interpolation not remembering their selected options --- src/UI/Nodes/AnimatePanel.gd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/UI/Nodes/AnimatePanel.gd b/src/UI/Nodes/AnimatePanel.gd index b56448814..c0f9eed1f 100644 --- a/src/UI/Nodes/AnimatePanel.gd +++ b/src/UI/Nodes/AnimatePanel.gd @@ -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")