diff --git a/src/UI/Timeline/AnimationTimeline.gd b/src/UI/Timeline/AnimationTimeline.gd index 1d7e68984..f0e932aa3 100644 --- a/src/UI/Timeline/AnimationTimeline.gd +++ b/src/UI/Timeline/AnimationTimeline.gd @@ -15,7 +15,9 @@ func _ready() -> void: tag_scroll_container = Global.find_node_by_name(self, "TagScroll") fps_spinbox = find_node("FPSValue") timeline_scroll.get_h_scrollbar().connect("value_changed", self, "_h_scroll_changed") + yield(get_tree(), "idle_frame") Global.animation_timer.wait_time = 1 / Global.current_project.fps + fps_spinbox.value = Global.current_project.fps func _h_scroll_changed(value : float) -> void: