diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2020-10-28 13:25:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-28 13:25:06 +0300 |
commit | 7495fdfc5b42d44d927e45c69c12dcf27a4e9b0e (patch) | |
tree | e668faf79b99416c91c3bbec0731fa09a91fc895 | |
parent | 6328f7a45c662a4ee05217c88df0d80e7525f2bb (diff) | |
parent | c3df61a6025c7c7155fa2475b8c05d5484202f41 (diff) |
Merge pull request #43154 from Chaosus/text_edit_fix
Removed redundant line from TextEdit
-rw-r--r-- | scene/gui/text_edit.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 00ead64e59..fb397759aa 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -1367,10 +1367,6 @@ void TextEdit::_notification(int p_what) { int scrollw = get_theme_constant("completion_scroll_width"); Color scrollc = get_theme_color("completion_scroll_color"); -#ifdef TOOLS_ENABLED - scrollw *= EDSCALE; -#endif - const int completion_options_size = completion_options.size(); int lines = MIN(completion_options_size, maxlines); int w = 0; |