mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Improve shortcut formatting in docs
This commit is contained in:
@@ -247,10 +247,12 @@ void editor_register_fonts(Ref<Theme> p_theme) {
|
||||
MAKE_BOLD_FONT(df_doc_bold, int(EDITOR_GET("text_editor/help/help_font_size")) * EDSCALE);
|
||||
MAKE_BOLD_FONT(df_doc_title, int(EDITOR_GET("text_editor/help/help_title_font_size")) * EDSCALE);
|
||||
MAKE_SOURCE_FONT(df_doc_code, int(EDITOR_GET("text_editor/help/help_source_font_size")) * EDSCALE);
|
||||
MAKE_SOURCE_FONT(df_doc_kbd, (int(EDITOR_GET("text_editor/help/help_source_font_size")) - 1) * EDSCALE);
|
||||
p_theme->set_font("doc", "EditorFonts", df_doc);
|
||||
p_theme->set_font("doc_bold", "EditorFonts", df_doc_bold);
|
||||
p_theme->set_font("doc_title", "EditorFonts", df_doc_title);
|
||||
p_theme->set_font("doc_source", "EditorFonts", df_doc_code);
|
||||
p_theme->set_font("doc_keyboard", "EditorFonts", df_doc_kbd);
|
||||
|
||||
// Ruler font
|
||||
MAKE_DEFAULT_FONT(df_rulers, 8 * EDSCALE);
|
||||
|
||||
Reference in New Issue
Block a user