diff options
author | Paulb23 <p_batty@hotmail.co.uk> | 2020-07-27 13:54:12 +0100 |
---|---|---|
committer | Paulb23 <p_batty@hotmail.co.uk> | 2020-09-10 20:35:28 +0100 |
commit | 7829fdc1d0d4e78e24aa902219f54b0edfb6cd3c (patch) | |
tree | 1cc9e428a83e223ce9e10e9141e97639839cfa69 /scene/resources/default_theme/default_theme.cpp | |
parent | 4d7df24d46f931839247a9886c485ed244d1c8ee (diff) |
Add folding gutter to code_edit
Diffstat (limited to 'scene/resources/default_theme/default_theme.cpp')
-rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index f02a63be1c..959ae8ae74 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -382,8 +382,6 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const theme->set_icon("tab", "TextEdit", make_icon(tab_png)); theme->set_icon("space", "TextEdit", make_icon(space_png)); - theme->set_icon("folded", "TextEdit", make_icon(arrow_right_png)); - theme->set_icon("fold", "TextEdit", make_icon(arrow_down_png)); theme->set_font("font", "TextEdit", Ref<Font>()); @@ -422,8 +420,9 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const theme->set_icon("breakpoint", "CodeEdit", make_icon(graph_port_png)); theme->set_icon("bookmark", "CodeEdit", make_icon(bookmark_png)); theme->set_icon("executing_line", "CodeEdit", make_icon(arrow_right_png)); + theme->set_icon("can_fold", "CodeEdit", make_icon(arrow_down_png)); theme->set_icon("folded", "CodeEdit", make_icon(arrow_right_png)); - theme->set_icon("fold", "CodeEdit", make_icon(arrow_down_png)); + theme->set_font("font", "CodeEdit", Ref<Font>()); theme->set_color("background_color", "CodeEdit", Color(0, 0, 0, 0)); |