You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Rename internal Button icon to button_icon to match exposed methods
This commit is contained in:
@@ -119,7 +119,7 @@ void ParallaxBackgroundEditorPlugin::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_ENTER_TREE: {
|
||||
menu->get_popup()->connect(SceneStringName(id_pressed), callable_mp(this, &ParallaxBackgroundEditorPlugin::_menu_callback));
|
||||
menu->set_icon(menu->get_editor_theme_icon(SNAME("ParallaxBackground")));
|
||||
menu->set_button_icon(menu->get_editor_theme_icon(SNAME("ParallaxBackground")));
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user