Rename TextureButton set_*_texture methods to set_texture_*

This commit is contained in:
Aaron Franke 2022-11-07 02:09:13 -06:00
parent 895428c805
commit f6714858bf
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
13 changed files with 84 additions and 84 deletions

View file

@ -61,10 +61,10 @@ void MeshEditor::_update_theme_item_cache() {
void MeshEditor::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_THEME_CHANGED: {
light_1_switch->set_normal_texture(theme_cache.light_1_on);
light_1_switch->set_pressed_texture(theme_cache.light_1_off);
light_2_switch->set_normal_texture(theme_cache.light_2_on);
light_2_switch->set_pressed_texture(theme_cache.light_2_off);
light_1_switch->set_texture_normal(theme_cache.light_1_on);
light_1_switch->set_texture_pressed(theme_cache.light_1_off);
light_2_switch->set_texture_normal(theme_cache.light_2_on);
light_2_switch->set_texture_pressed(theme_cache.light_2_off);
} break;
}
}