summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-11-26 20:33:22 +0100
committerGitHub <noreply@github.com>2017-11-26 20:33:22 +0100
commit2879e6f7ceb903d8406828e8b0cf0c28c88330a0 (patch)
tree850e332e14dc4bfd1bf2699182dc3cbfe38acf8a
parentdc3509b2aafe435ffd6c8d22f966f7ccd3575c4e (diff)
parent2a0a56443d26804524d97d08d476ee10332df2d0 (diff)
Merge pull request #13247 from groud/fix_this_stupid_setting_I_added
Remove option for the rulers graduations font size
-rw-r--r--editor/editor_fonts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_fonts.cpp b/editor/editor_fonts.cpp
index 7e20077fd6..54615a6d96 100644
--- a/editor/editor_fonts.cpp
+++ b/editor/editor_fonts.cpp
@@ -141,7 +141,7 @@ void editor_register_fonts(Ref<Theme> p_theme) {
p_theme->set_font("doc", "EditorFonts", df_doc);
p_theme->set_font("doc_title", "EditorFonts", df_doc_title);
- MAKE_DEFAULT_FONT(df_rulers, int(EDITOR_DEF("canvas_item_editor/rulers", 8)) * EDSCALE);
+ MAKE_DEFAULT_FONT(df_rulers, 8 * EDSCALE);
p_theme->set_font("rulers", "EditorFonts", df_rulers);
Ref<DynamicFont> df_code;