1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Make possible to edit the GraphEdit's selection rect colors

This commit is contained in:
Michael Alexsander
2020-01-07 23:09:40 -03:00
parent 83fe471c3b
commit 8b5992f665
4 changed files with 10 additions and 8 deletions

View File

@@ -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);
}
}