Merge pull request #62973 from bruvzg/sysfont_support

This commit is contained in:
Rémi Verschelde
2022-07-27 13:38:30 +02:00
committed by GitHub
27 changed files with 1089 additions and 54 deletions
+4 -2
View File
@@ -443,8 +443,10 @@ void TextEdit::_notification(int p_what) {
case NOTIFICATION_LAYOUT_DIRECTION_CHANGED:
case NOTIFICATION_TRANSLATION_CHANGED:
case NOTIFICATION_THEME_CHANGED: {
_update_caches();
_update_wrap_at_column(true);
if (is_inside_tree()) {
_update_caches();
_update_wrap_at_column(true);
}
} break;
case NOTIFICATION_WM_WINDOW_FOCUS_IN: {