Fix timeline track name overlapping keyframe area

This commit is contained in:
Paolo Perkovic 2018-02-05 13:25:50 +01:00
parent e836a7d88d
commit 398f5b74e3
1 changed files with 1 additions and 1 deletions

View File

@ -1359,7 +1359,7 @@ void AnimationKeyEditor::_track_editor_draw() {
Color ncol = color; Color ncol = color;
if (n && editor_selection->is_selected(n)) if (n && editor_selection->is_selected(n))
ncol = track_select_color; ncol = track_select_color;
te->draw_string(font, Point2(ofs + Point2(left_check_ofs + sep + type_icon[0]->get_width() + sep, y + font->get_ascent() + (sep / 2))).floor(), np, ncol, name_limit - (type_icon[0]->get_width() + sep) - 5); te->draw_string(font, Point2(ofs + Point2(left_check_ofs + sep + type_icon[0]->get_width() + sep, y + font->get_ascent() + (sep / 2))).floor(), np, ncol, name_limit - (left_check_ofs + sep) - (type_icon[0]->get_width() + sep) - 5);
// Draw separator line below track area // Draw separator line below track area
if (!obj) if (!obj)