diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-08-20 23:24:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-20 23:24:42 +0200 |
commit | 2daef0400a95bb467dacff845052a27e464e4dec (patch) | |
tree | 2dadd6e226858be1f465eabff196b50f75317a8b /scene/resources | |
parent | 78bf06ea415873d336f7869edb632968b1be6bed (diff) | |
parent | 39b90802d06d102f9494404d181ed6eac4590f17 (diff) |
Merge pull request #51866 from requizm/fix/49455
Fix `line_separation` working incorrectly in `RichTextLabel`
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index 5f70a31844..4e139adabb 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -917,7 +917,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const theme->set_constant("shadow_offset_y", "RichTextLabel", 1 * scale); theme->set_constant("shadow_as_outline", "RichTextLabel", 0 * scale); - theme->set_constant("line_separation", "RichTextLabel", 1 * scale); + theme->set_constant("line_separation", "RichTextLabel", 0 * scale); theme->set_constant("table_hseparation", "RichTextLabel", 3 * scale); theme->set_constant("table_vseparation", "RichTextLabel", 3 * scale); |