瀏覽代碼

Merge pull request #43154 from Chaosus/text_edit_fix

Removed redundant line from TextEdit
Yuri Roubinsky 4 年之前
父節點
當前提交
7495fdfc5b
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      scene/gui/text_edit.cpp

+ 0 - 4
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;