Use the editor theme's accent color for 2D/3D selections and rotations

This commit is contained in:
Hugo Locurcio
2019-03-29 14:19:44 +01:00
parent 472c8a7ba1
commit d59b210aec
3 changed files with 24 additions and 6 deletions

View File

@ -770,7 +770,9 @@ void GraphEdit::_top_layer_draw() {
}
if (box_selecting)
top_layer->draw_rect(box_selecting_rect, Color(0.7, 0.7, 1.0, 0.3));
top_layer->draw_rect(
box_selecting_rect,
get_color("accent_color", "Editor") * Color(1, 1, 1, 0.375));
}
void GraphEdit::set_selected(Node *p_child) {