diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-08-31 22:09:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-31 22:09:15 +0200 |
commit | 3fdf85cd9b12a8cd6ebb5467603230c2ac853613 (patch) | |
tree | eb20ce8d87587d32e674f4ac848361623a59f7f5 /editor/editor_help.cpp | |
parent | 61eeace97238dea90a4231649cad74bc7e2303fb (diff) | |
parent | d6984f7311e62fd028f1863ee448e20603e4d195 (diff) |
Merge pull request #31794 from Calinou/editor-increase-line-spacing
Increase line spacing in the editor help and asset library descriptions
Diffstat (limited to 'editor/editor_help.cpp')
-rw-r--r-- | editor/editor_help.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp index 2e8f8ec646..e6df00b48c 100644 --- a/editor/editor_help.cpp +++ b/editor/editor_help.cpp @@ -54,6 +54,7 @@ void EditorHelp::_init_colors() { qualifier_color = text_color * Color(1, 1, 1, 0.8); type_color = get_color("accent_color", "Editor").linear_interpolate(text_color, 0.5); class_desc->add_color_override("selection_color", get_color("accent_color", "Editor") * Color(1, 1, 1, 0.4)); + class_desc->add_constant_override("line_separation", Math::round(5 * EDSCALE)); } void EditorHelp::_unhandled_key_input(const Ref<InputEvent> &p_ev) { |