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

Make EditorSpinSlider label color a theme property

This commit is contained in:
FireForge
2022-03-03 18:19:00 -06:00
parent 3f69ea4f3b
commit 6a4d3859cf
6 changed files with 31 additions and 39 deletions

View File

@@ -53,7 +53,7 @@ void OpenTypeFeaturesEditor::_notification(int p_what) {
button->set_icon(get_theme_icon(SNAME("Remove"), SNAME("EditorIcons")));
button->set_size(get_theme_icon(SNAME("Remove"), SNAME("EditorIcons"))->get_size());
spin->set_custom_label_color(true, base);
spin->add_theme_color_override("label_color", base);
} break;
}
}