diff --git a/doc/classes/EditorDock.xml b/doc/classes/EditorDock.xml index 86457706cd2..2b1524cc3b7 100644 --- a/doc/classes/EditorDock.xml +++ b/doc/classes/EditorDock.xml @@ -56,7 +56,7 @@ Implement this method to handle the layout switching for this dock. [param layout] is one of the [enum DockLayout] constants. [codeblock] - _update_layout(layout): + func _update_layout(layout): box_container.vertical = (layout == DOCK_LAYOUT_VERTICAL) [/codeblock]