diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-01-08 07:00:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-08 07:00:24 +0100 |
commit | d084598e8d4296d5ee6e36d257bd1a003a140179 (patch) | |
tree | 46b53171ded1cf2103bcbd3425146b3593b6b4da /scene/gui | |
parent | 83fe471c3b3e62773438256a4ab01b83cf292c52 (diff) | |
parent | 8b5992f6658a125f63424a687e15e75ccd36906c (diff) |
Merge pull request #34902 from YeldhamDev/graphedit_selection_color
Make possible to edit the GraphEdit's selection rect colors
Diffstat (limited to 'scene/gui')
-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); } } |