Browse Source

Merge pull request #113381 from Eshaan-byte/fix-editordock-func-keyword

Doc: Add missing func keyword to EditorDock._update_layout example
Rémi Verschelde 1 week ago
parent
commit
39c7479839
1 changed files with 1 additions and 1 deletions
  1. 1 1
      doc/classes/EditorDock.xml

+ 1 - 1
doc/classes/EditorDock.xml

@@ -56,7 +56,7 @@
 			<description>
 				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]
 			</description>