summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2020-10-28 12:56:20 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2020-10-28 12:56:20 +0300
commitc3df61a6025c7c7155fa2475b8c05d5484202f41 (patch)
treee668faf79b99416c91c3bbec0731fa09a91fc895
parent6328f7a45c662a4ee05217c88df0d80e7525f2bb (diff)
Removed redundant line from TextEdit
introduced in https://github.com/godotengine/godot/pull/43026
-rw-r--r--scene/gui/text_edit.cpp4
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;