You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Fix scrolling RichTextLabel with scroll_active=false
This commit is contained in:
@@ -859,7 +859,7 @@ int RichTextLabel::_process_line(ItemFrame *p_frame, const Vector2 &p_ofs, int &
|
|||||||
|
|
||||||
void RichTextLabel::_scroll_changed(double) {
|
void RichTextLabel::_scroll_changed(double) {
|
||||||
|
|
||||||
if (updating_scroll)
|
if (updating_scroll || !scroll_active)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (scroll_follow && vscroll->get_value() >= (vscroll->get_max() - vscroll->get_page()))
|
if (scroll_follow && vscroll->get_value() >= (vscroll->get_max() - vscroll->get_page()))
|
||||||
|
|||||||
Reference in New Issue
Block a user