From 3164784ca3fb5deb56dcd82d16862d562cd60910 Mon Sep 17 00:00:00 2001 From: marynate Date: Wed, 21 May 2014 01:06:43 +0800 Subject: Fix script editor scrollbar disappear issue --- scene/gui/text_edit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/gui') diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index c48d8bb1de..3566c1bfc4 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(); } -- cgit v1.2.3