summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-02-13 14:11:52 +0100
committerGitHub <noreply@github.com>2018-02-13 14:11:52 +0100
commit427077a5f6ce83423505887915905121a418d394 (patch)
tree9c694edb688151b29f5216bd54e99d0781c293b3 /editor
parent448076edb6d7898954f2379c7f719becedc3c0a3 (diff)
parent398f5b74e3f1d0131f28ca13dfd6d0308c40d54e (diff)
Merge pull request #16410 from bcr3ative/issue_16406
Fix timeline track name overlapping keyframe area
Diffstat (limited to 'editor')
-rw-r--r--editor/animation_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/animation_editor.cpp b/editor/animation_editor.cpp
index 91aa189c8f..cd8233e460 100644
--- a/editor/animation_editor.cpp
+++ b/editor/animation_editor.cpp
@@ -1359,7 +1359,7 @@ void AnimationKeyEditor::_track_editor_draw() {
Color ncol = color;
if (n && editor_selection->is_selected(n))
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
if (!obj)