You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Fix TextEdit blocking scroll without scrollbar
This commit is contained in:
@@ -406,6 +406,7 @@ void TextEdit::_update_scrollbars() {
|
||||
cursor.line_ofs = 0;
|
||||
cursor.wrap_ofs = 0;
|
||||
v_scroll->set_value(0);
|
||||
v_scroll->set_max(0);
|
||||
v_scroll->hide();
|
||||
}
|
||||
|
||||
@@ -424,6 +425,7 @@ void TextEdit::_update_scrollbars() {
|
||||
|
||||
cursor.x_ofs = 0;
|
||||
h_scroll->set_value(0);
|
||||
h_scroll->set_max(0);
|
||||
h_scroll->hide();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user