summaryrefslogtreecommitdiffstats
path: root/doc/classes/Tree.xml
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2024-02-13 02:25:37 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2024-02-13 02:30:48 +0100
commit6de0eca6c185191338453a5a301b95b6b9c1c292 (patch)
tree3fc6ccf972acf908b3cf976eb36748d8e9e885b4 /doc/classes/Tree.xml
parent9050ee1542f4e071188e8e4f868f3507bb31b3dc (diff)
downloadredot-engine-6de0eca6c185191338453a5a301b95b6b9c1c292.tar.gz
Fix recursive Tree expand/collapse shortcuts not working
This also moves them to use Shift instead of Alt, as was already done for mouse interactions. Shortcuts in Tree were also made non-exact matches so they still work if modifiers are held. This is important for up/down shortcuts, especially once support for selecting with Shift + up/down is implemented.
Diffstat (limited to 'doc/classes/Tree.xml')
-rw-r--r--doc/classes/Tree.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Tree.xml b/doc/classes/Tree.xml
index bf5a504aba..88cda5ae10 100644
--- a/doc/classes/Tree.xml
+++ b/doc/classes/Tree.xml
@@ -353,7 +353,7 @@
This controls the drop sections, i.e. the decision and drawing of possible drop locations based on the mouse position.
</member>
<member name="enable_recursive_folding" type="bool" setter="set_enable_recursive_folding" getter="is_recursive_folding_enabled" default="true">
- If [code]true[/code], recursive folding is enabled for this [Tree]. Holding down Shift while clicking the fold arrow collapses or uncollapses the [TreeItem] and all its descendants.
+ If [code]true[/code], recursive folding is enabled for this [Tree]. Holding down [kbd]Shift[/kbd] while clicking the fold arrow or using [code]ui_right[/code]/[code]ui_left[/code] shortcuts collapses or uncollapses the [TreeItem] and all its descendants.
</member>
<member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" overrides="Control" enum="Control.FocusMode" default="2" />
<member name="hide_folding" type="bool" setter="set_hide_folding" getter="is_folding_hidden" default="false">