Skip to content

Commit

Permalink
Add rotation widget to 3D viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
JFonS committed Mar 9, 2020
1 parent 69c1805 commit 5b42516
Show file tree
Hide file tree
Showing 3 changed files with 325 additions and 16 deletions.
4 changes: 4 additions & 0 deletions editor/editor_fonts.cpp
Expand Up @@ -256,6 +256,10 @@ void editor_register_fonts(Ref<Theme> 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);
Expand Down

0 comments on commit 5b42516

Please sign in to comment.