From 8b5992f6658a125f63424a687e15e75ccd36906c Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Tue, 7 Jan 2020 23:09:40 -0300 Subject: Make possible to edit the GraphEdit's selection rect colors --- scene/gui/graph_edit.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'scene/gui/graph_edit.cpp') diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp index d1650fea1e..be465751b6 100644 --- a/scene/gui/graph_edit.cpp +++ b/scene/gui/graph_edit.cpp @@ -777,14 +777,8 @@ void GraphEdit::_top_layer_draw() { } if (box_selecting) { - top_layer->draw_rect( - box_selecting_rect, - get_color("box_selection_fill_color", "Editor")); - - top_layer->draw_rect( - box_selecting_rect, - get_color("box_selection_stroke_color", "Editor"), - false); + top_layer->draw_rect(box_selecting_rect, get_color("selection_fill")); + top_layer->draw_rect(box_selecting_rect, get_color("selection_stroke"), false); } } -- cgit v1.2.3