mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
Fix script editor scrollbar disappear issue
This commit is contained in:
parent
b324ff7ea5
commit
3164784ca3
@ -336,7 +336,7 @@ void TextEdit::_update_scrollbars() {
|
||||
v_scroll->set_val(cursor.line_ofs);
|
||||
|
||||
} else {
|
||||
|
||||
cursor.line_ofs = 0;
|
||||
v_scroll->hide();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user