mirror of https://github.com/godotengine/godot
Merge pull request #114056 from SpencerGoodman/fix-marker-name-covered
Fix Marker Name covered by AnimationPlayer track backgrounds
This commit is contained in:
commit
be1492908b
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in New Issue