Skip to content

Commit

Permalink
Merge pull request #28838 from Chaosus/vs_exp
Browse files Browse the repository at this point in the history
Expression node for visual shaders
  • Loading branch information
akien-mga authored May 21, 2019
2 parents 1d9bb73 + 5648924 commit 7d42ca8
Show file tree
Hide file tree
Showing 6 changed files with 1,342 additions and 17 deletions.
3 changes: 3 additions & 0 deletions editor/editor_fonts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ void editor_register_fonts(Ref<Theme> p_theme) {
MAKE_SOURCE_FONT(df_code, int(EditorSettings::get_singleton()->get("interface/editor/code_font_size")) * EDSCALE);
p_theme->set_font("source", "EditorFonts", df_code);

MAKE_SOURCE_FONT(df_expression, (int(EditorSettings::get_singleton()->get("interface/editor/code_font_size")) - 1) * EDSCALE);
p_theme->set_font("expression", "EditorFonts", df_expression);

MAKE_SOURCE_FONT(df_output_code, int(EDITOR_DEF("run/output/font_size", 13)) * EDSCALE);
p_theme->set_font("output_source", "EditorFonts", df_output_code);

Expand Down
Loading

0 comments on commit 7d42ca8

Please sign in to comment.