Rename internal Button icon to button_icon to match exposed methods
This commit is contained in:
parent
0debc73dc6
commit
562c666e3d
129 changed files with 718 additions and 718 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue