diff --git a/editor/editor_fonts.cpp b/editor/editor_fonts.cpp index 7e20077fd61..54615a6d969 100644 --- a/editor/editor_fonts.cpp +++ b/editor/editor_fonts.cpp @@ -141,7 +141,7 @@ void editor_register_fonts(Ref 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 df_code;