mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Merge pull request #89704 from dalexeev/editor-help-fix-text-color
Editor: Fix text color in `EditorHelpHighlighter`
This commit is contained in:
commit
22299f83f1
@ -3562,8 +3562,11 @@ void EditorHelpHighlighter::reset_cache() {
|
||||
}
|
||||
|
||||
EditorHelpHighlighter::EditorHelpHighlighter() {
|
||||
const Color text_color = EDITOR_GET("text_editor/theme/highlighting/text_color");
|
||||
|
||||
#ifdef MODULE_GDSCRIPT_ENABLED
|
||||
TextEdit *gdscript_text_edit = memnew(TextEdit);
|
||||
gdscript_text_edit->add_theme_color_override("font_color", text_color);
|
||||
|
||||
Ref<GDScript> gdscript;
|
||||
gdscript.instantiate();
|
||||
@ -3580,6 +3583,7 @@ EditorHelpHighlighter::EditorHelpHighlighter() {
|
||||
|
||||
#ifdef MODULE_MONO_ENABLED
|
||||
TextEdit *csharp_text_edit = memnew(TextEdit);
|
||||
csharp_text_edit->add_theme_color_override("font_color", text_color);
|
||||
|
||||
// See GH-89610.
|
||||
//Ref<CSharpScript> csharp;
|
||||
|
Loading…
Reference in New Issue
Block a user