From 3164784ca3fb5deb56dcd82d16862d562cd60910 Mon Sep 17 00:00:00 2001 From: marynate Date: Wed, 21 May 2014 01:06:43 +0800 Subject: [PATCH] Fix script editor scrollbar disappear issue --- scene/gui/text_edit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index c48d8bb1def..3566c1bfc49 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -336,7 +336,7 @@ void TextEdit::_update_scrollbars() { v_scroll->set_val(cursor.line_ofs); } else { - + cursor.line_ofs = 0; v_scroll->hide(); }