From 612193b77ff55be17d719f1c68ea83422a66f666 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 2 Oct 2018 18:43:09 +0200 Subject: [PATCH] Add critical info to TreeItem.set_custom_draw documentation Indicates that the method needs 2 arguments to be called --- doc/classes/TreeItem.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/TreeItem.xml b/doc/classes/TreeItem.xml index 57e0f2825a26..c5a63b1acbcc 100644 --- a/doc/classes/TreeItem.xml +++ b/doc/classes/TreeItem.xml @@ -400,6 +400,7 @@ Sets the given column's custom draw callback to [code]callback[/code] method on [code]object[/code]. + The [code]callback[/code] should accept two arguments: the [TreeItem] that is drawn and its position and size as a [Rect2].