1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

Add missing SNAME macro optimization to all theme methods call

This commit is contained in:
jmb462
2022-02-06 20:17:35 +01:00
parent 95719930a8
commit a988fad9a0
90 changed files with 1648 additions and 1648 deletions

View File

@@ -171,11 +171,11 @@ Texture3DEditor::Texture3DEditor() {
info->set_anchor(SIDE_TOP, 1);
info->set_h_grow_direction(GROW_DIRECTION_BEGIN);
info->set_v_grow_direction(GROW_DIRECTION_BEGIN);
info->add_theme_color_override("font_color", Color(1, 1, 1, 1));
info->add_theme_color_override("font_shadow_color", Color(0, 0, 0, 0.5));
info->add_theme_constant_override("shadow_outline_size", 1);
info->add_theme_constant_override("shadow_offset_x", 2);
info->add_theme_constant_override("shadow_offset_y", 2);
info->add_theme_color_override(SNAME("font_color"), Color(1, 1, 1, 1));
info->add_theme_color_override(SNAME("font_shadow_color"), Color(0, 0, 0, 0.5));
info->add_theme_constant_override(SNAME("shadow_outline_size"), 1);
info->add_theme_constant_override(SNAME("shadow_offset_x"), 2);
info->add_theme_constant_override(SNAME("shadow_offset_y"), 2);
setting = false;
layer->connect("value_changed", Callable(this, "_layer_changed"));