You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-07 19:53:17 +00:00
Fixed not being able to scroll ending wrapped line
This commit is contained in:
@@ -4585,7 +4585,7 @@ void TextEdit::_scroll_moved(double p_to_val) {
|
||||
int v_scroll_i = floor(get_v_scroll());
|
||||
int sc = 0;
|
||||
int n_line;
|
||||
for (n_line = 0; n_line < text.size() - 1; n_line++) {
|
||||
for (n_line = 0; n_line < text.size(); n_line++) {
|
||||
if (!is_line_hidden(n_line)) {
|
||||
sc++;
|
||||
sc += times_line_wraps(n_line);
|
||||
|
||||
Reference in New Issue
Block a user