浏览代码

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

Improve the `EditorInterface.get_editor_viewport()` description
Rémi Verschelde 5 年之前
父节点
当前提交
829039d8b1
共有 1 个文件被更改,包括 2 次插入2 次删除
  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">