Skip to content

Commit

Permalink
Merge pull request godotengine#43154 from Chaosus/text_edit_fix
Browse files Browse the repository at this point in the history
Removed redundant line from TextEdit
  • Loading branch information
Chaosus authored Oct 28, 2020
2 parents 6328f7a + c3df61a commit 7495fdf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scene/gui/text_edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7495fdf

Please sign in to comment.