summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-07-30 12:21:49 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-07-30 12:21:49 +0200
commit60d40d84302b15ffe387030ef32067ad3520b359 (patch)
tree4ac6722aa69e1d25ae538c1407f6890964cdfb0b /doc/classes
parent35ff38b3d4336b757bce714477bf5ed61b0cd7f3 (diff)
Improve the `EditorInterface.get_editor_viewport()` description
This closes https://github.com/godotengine/godot-docs/issues/1109.
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/EditorInterface.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/EditorInterface.xml b/doc/classes/EditorInterface.xml
index 8b2b9c9350..9da36b51f9 100644
--- a/doc/classes/EditorInterface.xml
+++ b/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">