mirror of
https://github.com/godotengine/godot.git
synced 2025-10-26 03:04:31 +00:00
Rename TextureButton set_*_texture methods to set_texture_*
This commit is contained in:
parent
895428c805
commit
f6714858bf
13 changed files with 84 additions and 84 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue