From c3df61a6025c7c7155fa2475b8c05d5484202f41 Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Wed, 28 Oct 2020 12:56:20 +0300 Subject: [PATCH] Removed redundant line from TextEdit introduced in https://github.com/godotengine/godot/pull/43026 --- scene/gui/text_edit.cpp | 4 ---- 1 file changed, 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;