diff options
| author | marynate | 2014-05-21 01:06:43 +0800 |
|---|---|---|
| committer | marynate | 2014-05-21 01:07:47 +0800 |
| commit | 3164784ca3fb5deb56dcd82d16862d562cd60910 (patch) | |
| tree | c490b721f407e3c7e26215bfab4503b73db8f64e | |
| parent | b324ff7ea584676fcc3292808d7e7ea609982f8e (diff) | |
| download | godot-3164784ca3fb5deb56dcd82d16862d562cd60910.tar.gz godot-3164784ca3fb5deb56dcd82d16862d562cd60910.tar.zst godot-3164784ca3fb5deb56dcd82d16862d562cd60910.zip | |
Fix script editor scrollbar disappear issue
| -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 c48d8bb1d..3566c1bfc 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(); } |
