1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Improve "Add" button consistency in Project Settings

* Adds an icon to all the input-adjacent add/remove buttons
 * Adds a separator next to the action map "add" button
 * Changes the Shader Globals editor to be consistent with the others
 * Adds a clear button to the shader global name input
This commit is contained in:
Christian Kaiser
2024-01-11 17:13:23 -03:00
parent 12ee58d8bc
commit 1910f91f17
6 changed files with 41 additions and 6 deletions

View File

@@ -45,6 +45,9 @@ void GroupSettingsEditor::_notification(int p_what) {
case NOTIFICATION_ENTER_TREE: {
update_groups();
} break;
case NOTIFICATION_THEME_CHANGED: {
add_button->set_icon(get_editor_theme_icon(SNAME("Add")));
} break;
}
}