diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-04-19 10:40:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-19 10:40:29 +0200 |
commit | 8ba06e3161315f1af4207443df86b82d4dd6f06c (patch) | |
tree | 051eac7c1458c67cd648e9ddfc564e77f13bc7c3 /scene/resources | |
parent | f41e7779fd3672c9da43460408f42bf06a3d803f (diff) | |
parent | 86822b187eaa0f3cfbefcb00f664d189c977658f (diff) |
Merge pull request #47448 from madmiraal/rename-lineedit-cursor
Rename LineEdit getters and setters to match property names
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 f05b43377f..b9f4a7a741 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -438,7 +438,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const theme->set_color("font_selected_color", "LineEdit", Color(0, 0, 0)); theme->set_color("font_uneditable_color", "LineEdit", Color(control_font_color.r, control_font_color.g, control_font_color.b, 0.5f)); theme->set_color("font_outline_color", "LineEdit", Color(1, 1, 1)); - theme->set_color("cursor_color", "LineEdit", control_font_hover_color); + theme->set_color("caret_color", "LineEdit", control_font_hover_color); theme->set_color("selection_color", "LineEdit", control_selection_color); theme->set_color("clear_button_color", "LineEdit", control_font_color); theme->set_color("clear_button_color_pressed", "LineEdit", control_font_pressed_color); |