Skip to content

Commit

Permalink
Merge pull request godotengine#10437 from groud/2d_editor_enhancements
Browse files Browse the repository at this point in the history
Some 2d editor enhancements
  • Loading branch information
akien-mga authored Sep 19, 2017
2 parents d1ecc25 + b5f29fe commit 2785444
Show file tree
Hide file tree
Showing 10 changed files with 1,187 additions and 524 deletions.
3 changes: 3 additions & 0 deletions editor/editor_fonts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ void editor_register_fonts(Ref<Theme> p_theme) {
p_theme->set_font("doc", "EditorFonts", df_doc);
p_theme->set_font("doc_title", "EditorFonts", df_title);

MAKE_DEFAULT_FONT(df_rulers, int(EDITOR_DEF("canvas_item_editor/rulers", 8)) * EDSCALE);
p_theme->set_font("rulers", "EditorFonts", df_rulers);

Ref<DynamicFont> df_code;
df_code.instance();
df_code->set_size(int(EditorSettings::get_singleton()->get("interface/source_font_size")) * EDSCALE);
Expand Down
101 changes: 92 additions & 9 deletions editor/icons/icon_snap.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
92 changes: 92 additions & 0 deletions editor/icons/icon_snap_grid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2785444

Please sign in to comment.