1
0
Fork 0

Set marker z index to ensure visibility

Co-authored-by: kateyvk <kateyvk16@gmail.com>
Co-authored-by: fejesievo <fejesievo@gmail.com>
Co-authored-by: MaxiSanc37 <maxijsanchez37@gmail.com>
This commit is contained in:
S-Gman 2025-12-15 15:34:07 -05:00
parent 5cb1ec5900
commit 91c5edff3d
1 changed files with 1 additions and 0 deletions

View File

@ -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));