summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateus Felipe C. C. Pinto <mateusfccp@gmail.com>2018-12-18 13:46:03 -0200
committerMateus Felipe C. C. Pinto <mateusfccp@gmail.com>2018-12-18 13:46:03 -0200
commite7968954e864a216903a71dc60c015bc828906ca (patch)
treea06e4ee5e7f4e8117241f701e2913b03048adcbd
parente3241d54614ca1a8d18d4273f9e4a3b56ce74c39 (diff)
Change color of AnimationPlayer curve to "highlight"
This is to be consistent with Curve editor and to be less confusing related to tangent lines color.
-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