diff options
author | Ryan Roden-Corrent <ryan@rcorre.net> | 2021-12-03 19:07:01 -0500 |
---|---|---|
committer | Ryan Roden-Corrent <ryan@rcorre.net> | 2021-12-12 07:55:01 -0500 |
commit | 9d04086451545fb744fbfce8639e8e66327a65c0 (patch) | |
tree | dc4321f33217b18cf904672ba40f6966093c4eb4 /editor | |
parent | b8914ab8b6c678c80a972d57cee162076f3c5e03 (diff) |
Document how to autoscroll ScrollContainer.
It is not uncommon to want to scroll to the most recently added child of
a ScrollContainer (e.g. a chat box or activity log). This is a little
tricky, since `ensure_control_visible` will not work on a node on the
same frame as you add it. Let's at least document that you need to wait
until the next frame.
Relates to https://github.com/godotengine/godot-proposals/issues/3629.
Co-authored-by: Yuri Sizov <pycbouh@users.noreply.github.com>
Diffstat (limited to 'editor')
0 files changed, 0 insertions, 0 deletions