summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Huelin <62965063+SirQuartz@users.noreply.github.com>2021-07-18 16:11:13 -0400
committerNick H <62965063+SirQuartz@users.noreply.github.com>2021-07-18 17:53:52 -0400
commita45713ccdde94880c47e461f0ded658355ffce7e (patch)
treea5e86b56ea0ad245c6b1ff63bb7b65c75fbbd163
parentb76dfde329592ecfd6f6b952082ae21859039e67 (diff)
downloadredot-engine-a45713ccdde94880c47e461f0ded658355ffce7e.tar.gz
Fix Illegible text in audio bus editor
This pull request fixes an issue with the audio bus editor where the text would be illegible regardless of the theme being used.
-rw-r--r--editor/editor_themes.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp
index 427f079669..b38853a623 100644
--- a/editor/editor_themes.cpp
+++ b/editor/editor_themes.cpp
@@ -1024,6 +1024,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
theme->set_stylebox("read_only", "LineEdit", style_line_edit_disabled);
theme->set_icon("clear", "LineEdit", theme->get_icon("GuiClose", "EditorIcons"));
theme->set_color("read_only", "LineEdit", font_disabled_color);
+ theme->set_color("font_uneditable_color", "LineEdit", font_disabled_color);
theme->set_color("font_color", "LineEdit", font_color);
theme->set_color("font_selected_color", "LineEdit", mono_color);
theme->set_color("caret_color", "LineEdit", font_color);
@@ -1189,7 +1190,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
style_tooltip->set_default_margin(SIDE_TOP, default_margin_size * EDSCALE * 0.5);
style_tooltip->set_default_margin(SIDE_RIGHT, default_margin_size * EDSCALE);
style_tooltip->set_default_margin(SIDE_BOTTOM, default_margin_size * EDSCALE * 0.5);
- style_tooltip->set_bg_color(mono_color.inverted() * Color(1, 1, 1, 0.8));
+ style_tooltip->set_bg_color(mono_color.inverted());
style_tooltip->set_border_width_all(0);
theme->set_color("font_color", "TooltipLabel", font_hover_color);
theme->set_color("font_color_shadow", "TooltipLabel", Color(0, 0, 0, 0));