diff options
author | marynate <mary.w.nate@gmail.com> | 2014-05-21 01:06:43 +0800 |
---|---|---|
committer | marynate <mary.w.nate@gmail.com> | 2014-05-21 01:07:47 +0800 |
commit | 3164784ca3fb5deb56dcd82d16862d562cd60910 (patch) | |
tree | c490b721f407e3c7e26215bfab4503b73db8f64e /scene/gui/text_edit.cpp | |
parent | b324ff7ea584676fcc3292808d7e7ea609982f8e (diff) |
Fix script editor scrollbar disappear issue
Diffstat (limited to 'scene/gui/text_edit.cpp')
-rw-r--r-- | scene/gui/text_edit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |