Merge pull request #51619 from Chaosus/fix_dark_words

Fix incorrect word block colors in the inspector tooltip
This commit is contained in:
Rémi Verschelde 2021-08-13 17:09:34 +02:00 committed by GitHub
commit 3a48474c49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -887,7 +887,7 @@ Control *EditorProperty::make_custom_tooltip(const String &p_text) const {
text += "\n" + property_doc;
}
}
help_bit->set_text(text);
help_bit->call_deferred(SNAME("set_text"), text); //hack so it uses proper theme once inside scene
}
return help_bit;
@ -1102,7 +1102,7 @@ Control *EditorInspectorCategory::make_custom_tooltip(const String &p_text) cons
text += "\n" + property_doc;
}
}
help_bit->set_text(text); //hack so it uses proper theme once inside scene
help_bit->call_deferred(SNAME("set_text"), text); //hack so it uses proper theme once inside scene
}
return help_bit;