Explorar o código

Merge pull request #40874 from Calinou/doc-editorinterface-get_editor_viewport

Improve the `EditorInterface.get_editor_viewport()` description
Rémi Verschelde %!s(int64=5) %!d(string=hai) anos
pai
achega
829039d8b1
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      doc/classes/EditorInterface.xml

+ 2 - 2
doc/classes/EditorInterface.xml

@@ -51,8 +51,8 @@
 			<return type="Control">
 			</return>
 			<description>
-				Returns the editor's [Viewport] instance.
-				[b]Note:[/b] This returns the main editor viewport containing the whole editor, not the 2D or 3D viewports specifically.
+				Returns the main editor control. Use this as a parent for main screens.
+				[b]Note:[/b] This returns the main editor control containing the whole editor, not the 2D or 3D viewports specifically.
 			</description>
 		</method>
 		<method name="get_file_system_dock">