diff options
author | Michael Alexsander <michaelalexsander@protonmail.com> | 2020-01-07 23:09:40 -0300 |
---|---|---|
committer | Michael Alexsander <michaelalexsander@protonmail.com> | 2020-01-07 23:20:48 -0300 |
commit | 8b5992f6658a125f63424a687e15e75ccd36906c (patch) | |
tree | 46b53171ded1cf2103bcbd3425146b3593b6b4da /scene/gui/graph_edit.cpp | |
parent | 83fe471c3b3e62773438256a4ab01b83cf292c52 (diff) |
Make possible to edit the GraphEdit's selection rect colors
Diffstat (limited to 'scene/gui/graph_edit.cpp')
-rw-r--r-- | scene/gui/graph_edit.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
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); } } |