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/texture_editor_plugin.cpp | |
parent | 43ff899fa7141da03e2ed5099752190db0c84262 (diff) | |
parent | 5f9cd9ccbc747ed948e38fab14e1eb66ce9d57c7 (diff) |
Merge pull request #54649 from bruvzg/shadows
Diffstat (limited to 'editor/plugins/texture_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/texture_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/texture_editor_plugin.cpp b/editor/plugins/texture_editor_plugin.cpp index b9ec6bf5ab..e25b0270b4 100644 --- a/editor/plugins/texture_editor_plugin.cpp +++ b/editor/plugins/texture_editor_plugin.cpp @@ -101,7 +101,7 @@ TexturePreview::TexturePreview(Ref<Texture2D> p_texture, bool p_show_metadata) { metadata_label->add_theme_color_override("font_outline_color", Color::named("black")); metadata_label->add_theme_constant_override("outline_size", 2 * EDSCALE); - metadata_label->add_theme_constant_override("shadow_as_outline", 1); + metadata_label->add_theme_constant_override("shadow_outline_size", 1); metadata_label->set_h_size_flags(Control::SIZE_SHRINK_END); metadata_label->set_v_size_flags(Control::SIZE_SHRINK_END); |