summaryrefslogtreecommitdiffstats
path: root/doc/classes/Tree.xml
diff options
context:
space:
mode:
authorStijn Hinlopen <f.a.hinlopen@gmail.com>2020-07-05 20:06:51 +0200
committerStijn Hinlopen <f.a.hinlopen@gmail.com>2022-02-05 10:59:33 +0100
commit31824420e4cf3a30eb35334c43cb8393af585346 (patch)
treef348f13263224068db871e02e84cb2ce6040d47d /doc/classes/Tree.xml
parentdf1724470d1cff4f67aeb4c0d039114373aeb001 (diff)
downloadredot-engine-31824420e4cf3a30eb35334c43cb8393af585346.tar.gz
Center when scrolling to tree item.
Diffstat (limited to 'doc/classes/Tree.xml')
-rw-r--r--doc/classes/Tree.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Tree.xml b/doc/classes/Tree.xml
index 766c740a2c..4b051c4938 100644
--- a/doc/classes/Tree.xml
+++ b/doc/classes/Tree.xml
@@ -240,6 +240,7 @@
<method name="scroll_to_item">
<return type="void" />
<argument index="0" name="item" type="TreeItem" />
+ <argument index="1" name="center_on_item" type="bool" default="false" />
<description>
Causes the [Tree] to jump to the specified [TreeItem].
</description>