Merge pull request #43154 from Chaosus/text_edit_fix

Removed redundant line from TextEdit
This commit is contained in:
Yuri Roubinsky 2020-10-28 13:25:06 +03:00 committed by GitHub
commit 7495fdfc5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1367,10 +1367,6 @@ void TextEdit::_notification(int p_what) {
int scrollw = get_theme_constant("completion_scroll_width"); int scrollw = get_theme_constant("completion_scroll_width");
Color scrollc = get_theme_color("completion_scroll_color"); Color scrollc = get_theme_color("completion_scroll_color");
#ifdef TOOLS_ENABLED
scrollw *= EDSCALE;
#endif
const int completion_options_size = completion_options.size(); const int completion_options_size = completion_options.size();
int lines = MIN(completion_options_size, maxlines); int lines = MIN(completion_options_size, maxlines);
int w = 0; int w = 0;