From 7055a926ff809776ce99930ce650908eeeb0d076 Mon Sep 17 00:00:00 2001 From: jfons Date: Wed, 23 Oct 2019 11:46:26 +0200 Subject: Add rotation widget to 3D viewport --- editor/editor_fonts.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'editor/editor_fonts.cpp') diff --git a/editor/editor_fonts.cpp b/editor/editor_fonts.cpp index db2f9c53d9..171b7a2176 100644 --- a/editor/editor_fonts.cpp +++ b/editor/editor_fonts.cpp @@ -256,6 +256,10 @@ void editor_register_fonts(Ref p_theme) { MAKE_DEFAULT_FONT(df_rulers, 8 * EDSCALE); p_theme->set_font("rulers", "EditorFonts", df_rulers); + // Rotation widget font + MAKE_DEFAULT_FONT(df_rotation_control, 14 * EDSCALE); + p_theme->set_font("rotation_control", "EditorFonts", df_rotation_control); + // Code font MAKE_SOURCE_FONT(df_code, int(EDITOR_GET("interface/editor/code_font_size")) * EDSCALE); p_theme->set_font("source", "EditorFonts", df_code); -- cgit v1.2.3