You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Rename TextureButton set_*_texture methods to set_texture_*
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user