From 91c5edff3d811df41dc0c50f76d7905a40c74d2a Mon Sep 17 00:00:00 2001 From: S-Gman Date: Mon, 15 Dec 2025 15:34:07 -0500 Subject: [PATCH] Set marker z index to ensure visibility Co-authored-by: kateyvk Co-authored-by: fejesievo Co-authored-by: MaxiSanc37 --- editor/animation/animation_track_editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/animation/animation_track_editor.cpp b/editor/animation/animation_track_editor.cpp index b70e47befb1..925b724af6d 100644 --- a/editor/animation/animation_track_editor.cpp +++ b/editor/animation/animation_track_editor.cpp @@ -8109,6 +8109,7 @@ AnimationTrackEditor::AnimationTrackEditor() { marker_edit->set_timeline(timeline); marker_edit->set_h_size_flags(SIZE_EXPAND_FILL); marker_edit->set_anchors_and_offsets_preset(Control::LayoutPreset::PRESET_FULL_RECT); + marker_edit->set_z_index(1); // Ensure marker appears over the animation track editor. marker_edit->connect(SceneStringName(draw), callable_mp(this, &AnimationTrackEditor::_redraw_groups)); marker_edit->connect(SceneStringName(draw), callable_mp(this, &AnimationTrackEditor::_redraw_tracks)); marker_edit->connect(SceneStringName(draw), callable_mp((CanvasItem *)bezier_edit, &CanvasItem::queue_redraw));