From 5ec63c62a17aea2454e2c71da6c1bb0ec5db5277 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Wed, 3 Apr 2019 11:42:19 -0300 Subject: [PATCH] Add documentation about nested YSort nodes. (cherry picked from commit ed3586afa1b09ef4a7d25deaf053cdad947a1cae) --- doc/classes/YSort.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/YSort.xml b/doc/classes/YSort.xml index e9233ff0795..ac1abaa6c53 100644 --- a/doc/classes/YSort.xml +++ b/doc/classes/YSort.xml @@ -5,6 +5,7 @@ Sort all child nodes based on their Y positions. The child node must inherit from [CanvasItem] for it to be sorted. Nodes that have a higher Y position will be drawn later, so they will appear on top of nodes that have a lower Y position. + Nesting of YSort nodes is possible. Children YSort nodes will be sorted in the same space as the parent YSort, allowing to better organize a scene or divide it in multiple ones, yet keep the unique sorting.