summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-12-18 18:56:05 +0100
committerGitHub <noreply@github.com>2018-12-18 18:56:05 +0100
commit3c999ae1a1f897716041b45606a4506790da1e91 (patch)
tree7abd1b0858b1c745cdb1c6e1564f6d5238f6fa12 /editor
parentc4cc66596e735dc6d954435d6e7751b989b8f439 (diff)
parente7968954e864a216903a71dc60c015bc828906ca (diff)
Merge pull request #24451 from mateusfccp/animation_editor_curve_tangent_different_color
Change color of AnimationPlayer curve to "highlight"
Diffstat (limited to 'editor')
-rw-r--r--editor/animation_bezier_editor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/animation_bezier_editor.cpp b/editor/animation_bezier_editor.cpp
index f0dc3ce305..6f9e7308c3 100644
--- a/editor/animation_bezier_editor.cpp
+++ b/editor/animation_bezier_editor.cpp
@@ -408,7 +408,8 @@ void AnimationBezierTrackEdit::_notification(int p_what) {
}
//draw edited curve
- _draw_track(track, accent);
+ const Color highlight = get_color("highlight_color", "Editor");
+ _draw_track(track, highlight);
}
//draw editor handles