소스 검색

Merge pull request #24451 from mateusfccp/animation_editor_curve_tangent_different_color

Change color of AnimationPlayer curve to "highlight"
Rémi Verschelde 6 년 전
부모
커밋
3c999ae1a1
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      editor/animation_bezier_editor.cpp

+ 2 - 1
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