Merge pull request #44194 from madmiraal/fix-font_selected_color

Change themes font_color_selected to font_selected_color
This commit is contained in:
Rémi Verschelde 2021-01-26 00:03:40 +01:00 committed by GitHub
commit 6cba658934
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
47 changed files with 352 additions and 354 deletions

View file

@ -619,7 +619,7 @@ void VisualShaderGraphPlugin::add_node(VisualShader::Type p_type, int p_id) {
if (vsnode->get_input_port_default_hint(i) != "" && !port_left_used) {
Label *hint_label = memnew(Label);
hint_label->set_text("[" + vsnode->get_input_port_default_hint(i) + "]");
hint_label->add_theme_color_override("font_color", VisualShaderEditor::get_singleton()->get_theme_color("font_color_readonly", "TextEdit"));
hint_label->add_theme_color_override("font_color", VisualShaderEditor::get_singleton()->get_theme_color("font_readonly_color", "TextEdit"));
hint_label->add_theme_style_override("normal", label_style);
hb->add_child(hint_label);
}