diff options
| author | Andreas Haas | 2017-09-29 18:52:56 +0200 |
|---|---|---|
| committer | Andreas Haas | 2017-09-29 18:52:56 +0200 |
| commit | 20eb17a685bb426b2de4a1e791d90241e1a5b5e6 (patch) | |
| tree | c08d1ff68ab467dff08eb3c5b8bb4184b23bd6af /editor/editor_fonts.cpp | |
| parent | 4f39ce32b9195405f934445b20059e86632b47f9 (diff) | |
| download | godot-20eb17a685bb426b2de4a1e791d90241e1a5b5e6.tar.gz godot-20eb17a685bb426b2de4a1e791d90241e1a5b5e6.tar.zst godot-20eb17a685bb426b2de4a1e791d90241e1a5b5e6.zip | |
EditorSettings: Move interface/ properties to interface/editor
Fixes inconsistent behaviour where clicking on the "Interface"
in the Editor Settings wouldn't collapse the category as is the
case for all the other categories.
Diffstat (limited to 'editor/editor_fonts.cpp')
| -rw-r--r-- | editor/editor_fonts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_fonts.cpp b/editor/editor_fonts.cpp index 110b2a6a8..cf6259bed 100644 --- a/editor/editor_fonts.cpp +++ b/editor/editor_fonts.cpp @@ -122,7 +122,7 @@ void editor_register_fonts(Ref<Theme> p_theme) { dfmono->set_font_ptr(_font_Hack_Regular, _font_Hack_Regular_size); //dfd->set_force_autohinter(true); //just looks better..i think? - MAKE_DEFAULT_FONT(df, int(EditorSettings::get_singleton()->get("interface/font_size")) * EDSCALE); + MAKE_DEFAULT_FONT(df, int(EditorSettings::get_singleton()->get("interface/editor/font_size")) * EDSCALE); p_theme->set_default_theme_font(df); @@ -142,7 +142,7 @@ void editor_register_fonts(Ref<Theme> p_theme) { Ref<DynamicFont> df_code; df_code.instance(); - df_code->set_size(int(EditorSettings::get_singleton()->get("interface/source_font_size")) * EDSCALE); + df_code->set_size(int(EditorSettings::get_singleton()->get("interface/editor/source_font_size")) * EDSCALE); df_code->set_font_data(dfmono); MAKE_FALLBACKS(df_code); |
