diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2021-07-30 15:18:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-30 15:18:28 +0200 |
| commit | ba274a6fc6111449c4484f48b272b7775a73eff8 (patch) | |
| tree | bbb6a8cb27734b80f66c797de447090b7dc72078 /editor/plugins/node_3d_editor_plugin.cpp | |
| parent | 6d5c1086c3cc5442b4b8f7c752c941a0ce3150c5 (diff) | |
| parent | e92297cc3d9e0b8cccbc390b3ac7316d76a683c4 (diff) | |
| download | redot-engine-ba274a6fc6111449c4484f48b272b7775a73eff8.tar.gz | |
Merge pull request #48567 from Calinou/editor-theme-less-opaque-viewport-focus
Make the focus outline translucent for editor viewports
Diffstat (limited to 'editor/plugins/node_3d_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/node_3d_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index a278b5a37f..5eb549d58c 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -2871,7 +2871,7 @@ void Node3DEditorViewport::_draw() { if (surface->has_focus()) { Size2 size = surface->get_size(); Rect2 r = Rect2(Point2(), size); - get_theme_stylebox(SNAME("Focus"), SNAME("EditorStyles"))->draw(surface->get_canvas_item(), r); + get_theme_stylebox(SNAME("FocusViewport"), SNAME("EditorStyles"))->draw(surface->get_canvas_item(), r); } if (cursor.region_select) { |
