From bb766a8fb6352c35feb9a7fbdcf3603768418292 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Thu, 17 Feb 2022 00:29:00 +0800 Subject: [PATCH] Fix documentation about TreeItem button ID --- doc/classes/TreeItem.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/TreeItem.xml b/doc/classes/TreeItem.xml index b6a2909ce77..c909a35ab58 100644 --- a/doc/classes/TreeItem.xml +++ b/doc/classes/TreeItem.xml @@ -18,7 +18,7 @@ - Adds a button with [Texture2D] [code]button[/code] at column [code]column[/code]. The [code]id[/code] is used to identify the button. If not specified, the next available index is used, which may be retrieved by calling [method get_button_count] immediately after this method. Optionally, the button can be [code]disabled[/code] and have a [code]tooltip[/code]. + Adds a button with [Texture2D] [code]button[/code] at column [code]column[/code]. The [code]id[/code] is used to identify the button. If not specified, the next available index is used, which may be retrieved by calling [method get_button_count] immediately before this method. Optionally, the button can be [code]disabled[/code] and have a [code]tooltip[/code]. @@ -92,7 +92,7 @@ - Returns the number of buttons in column [code]column[/code]. May be used to get the most recently added button's index, if no index was specified. + Returns the number of buttons in column [code]column[/code].