mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Rename internal Button icon to button_icon to match exposed methods
This commit is contained in:
@@ -77,11 +77,11 @@ void MaterialEditor::_update_theme_item_cache() {
|
||||
void MaterialEditor::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
light_1_switch->set_icon(theme_cache.light_1_icon);
|
||||
light_2_switch->set_icon(theme_cache.light_2_icon);
|
||||
light_1_switch->set_button_icon(theme_cache.light_1_icon);
|
||||
light_2_switch->set_button_icon(theme_cache.light_2_icon);
|
||||
|
||||
sphere_switch->set_icon(theme_cache.sphere_icon);
|
||||
box_switch->set_icon(theme_cache.box_icon);
|
||||
sphere_switch->set_button_icon(theme_cache.sphere_icon);
|
||||
box_switch->set_button_icon(theme_cache.box_icon);
|
||||
|
||||
error_label->add_theme_color_override(SceneStringName(font_color), get_theme_color(SNAME("error_color"), EditorStringName(Editor)));
|
||||
} break;
|
||||
|
||||
Reference in New Issue
Block a user