1
0
Fork 0

Merge pull request #114056 from SpencerGoodman/fix-marker-name-covered

Fix Marker Name covered by AnimationPlayer track backgrounds
This commit is contained in:
Thaddeus Crews 2025-12-16 20:32:54 -06:00
commit be1492908b
No known key found for this signature in database
GPG Key ID: 8C6E5FEB5FC03CCC
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));