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

(cherry picked from commit d59b210aec)
This commit is contained in:
Hugo Locurcio
2019-03-29 14:19:44 +01:00
committed by Rémi Verschelde
parent 93875a79bb
commit 67dc8cf252
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) {