Merge pull request #29202 from KoBeWi/regrescroll
Fix TextEdit blocking scroll without scrollbar
This commit is contained in:
commit
252c841d7f
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user