From 0e992e6089363e32ecee737784cd8de99497c52d 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 (cherry picked from commit 612193b77ff55be17d719f1c68ea83422a66f666) --- doc/classes/TreeItem.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/TreeItem.xml b/doc/classes/TreeItem.xml index fc993fefd7a..b9b39b5db6a 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].