diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-09 00:07:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-09 00:07:41 +0100 |
commit | 6c4737341d2871ab7946f03dc2792a628ff313d8 (patch) | |
tree | 52ba79db8ee4160a6e41c89e8d7a3d46149ddf08 /editor/plugins/canvas_item_editor_plugin.cpp | |
parent | 43ff899fa7141da03e2ed5099752190db0c84262 (diff) | |
parent | 5f9cd9ccbc747ed948e38fab14e1eb66ce9d57c7 (diff) |
Merge pull request #54649 from bruvzg/shadows
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index 376c7d3f07..061483decf 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -6192,14 +6192,14 @@ CanvasItemEditorViewport::CanvasItemEditorViewport(EditorNode *p_node, CanvasIte label = memnew(Label); label->add_theme_color_override("font_shadow_color", Color(0, 0, 0, 1)); - label->add_theme_constant_override("shadow_as_outline", 1 * EDSCALE); + label->add_theme_constant_override("shadow_outline_size", 1 * EDSCALE); label->hide(); canvas_item_editor->get_controls_container()->add_child(label); label_desc = memnew(Label); label_desc->add_theme_color_override("font_color", Color(0.6f, 0.6f, 0.6f, 1)); label_desc->add_theme_color_override("font_shadow_color", Color(0.2f, 0.2f, 0.2f, 1)); - label_desc->add_theme_constant_override("shadow_as_outline", 1 * EDSCALE); + label_desc->add_theme_constant_override("shadow_outline_size", 1 * EDSCALE); label_desc->add_theme_constant_override("line_spacing", 0); label_desc->hide(); canvas_item_editor->get_controls_container()->add_child(label_desc); |