diff options
Diffstat (limited to 'editor/plugins/theme_editor_preview.cpp')
-rw-r--r-- | editor/plugins/theme_editor_preview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/theme_editor_preview.cpp b/editor/plugins/theme_editor_preview.cpp index 61bce0a89c..14a25e4e29 100644 --- a/editor/plugins/theme_editor_preview.cpp +++ b/editor/plugins/theme_editor_preview.cpp @@ -217,7 +217,7 @@ void ThemeEditorPreview::_notification(int p_what) { theme_cache.preview_picker_overlay_color = get_theme_color(SNAME("preview_picker_overlay_color"), SNAME("ThemeEditor")); theme_cache.preview_picker_label = get_theme_stylebox(SNAME("preview_picker_label"), SNAME("ThemeEditor")); theme_cache.preview_picker_font = get_theme_font(SNAME("status_source"), EditorStringName(EditorFonts)); - theme_cache.font_size = get_theme_font_size(SNAME("font_size"), EditorStringName(EditorFonts)); + theme_cache.font_size = get_theme_default_font_size(); } break; case NOTIFICATION_PROCESS: { |