Enable scrolling of output with UI scale changes

This commit is contained in:
Roy Berube 2023-11-06 12:17:49 -07:00
parent 4c96e9676b
commit a7b2e090ad
1 changed files with 1 additions and 1 deletions

View File

@ -1760,7 +1760,7 @@ void RichTextLabel::_scroll_changed(double) {
return; return;
} }
if (scroll_follow && vscroll->get_value() >= (vscroll->get_max() - vscroll->get_page())) { if (scroll_follow && vscroll->get_value() >= (vscroll->get_max() - Math::round(vscroll->get_page()))) {
scroll_following = true; scroll_following = true;
} else { } else {
scroll_following = false; scroll_following = false;