Removed redundant line from TextEdit

introduced in https://github.com/godotengine/godot/pull/43026
This commit is contained in:
Yuri Roubinsky 2020-10-28 12:56:20 +03:00
parent 6328f7a45c
commit c3df61a602

View file

@ -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;