Fix description of dock slot usage in the documentation

This commit is contained in:
Haoyu Qiu 2023-09-08 17:26:59 +08:00
parent 31a7fd1951
commit 6cdf5eff21
1 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@
</brief_description> </brief_description>
<description> <description>
Plugins are used by the editor to extend functionality. The most common types of plugins are those which edit a given node or resource type, import plugins and export plugins. See also [EditorScript] to add functions to the editor. Plugins are used by the editor to extend functionality. The most common types of plugins are those which edit a given node or resource type, import plugins and export plugins. See also [EditorScript] to add functions to the editor.
[b]Note:[/b] Some names in this class contain "left" or "right" (e.g. [constant DOCK_SLOT_LEFT_UL]). These APIs assume left-to-right layout, and would be backwards when using right-to-left layout. These names are kept for compatibility reasons.
</description> </description>
<tutorials> <tutorials>
<link title="Editor plugins documentation index">$DOCS_URL/tutorials/plugins/editor/index.html</link> <link title="Editor plugins documentation index">$DOCS_URL/tutorials/plugins/editor/index.html</link>
@ -824,13 +825,13 @@
Dock slot, left side, bottom-right (in default layout includes FileSystem dock). Dock slot, left side, bottom-right (in default layout includes FileSystem dock).
</constant> </constant>
<constant name="DOCK_SLOT_RIGHT_UL" value="4" enum="DockSlot"> <constant name="DOCK_SLOT_RIGHT_UL" value="4" enum="DockSlot">
Dock slot, right side, upper-left (empty in default layout). Dock slot, right side, upper-left (in default layout includes Inspector, Node, and History docks).
</constant> </constant>
<constant name="DOCK_SLOT_RIGHT_BL" value="5" enum="DockSlot"> <constant name="DOCK_SLOT_RIGHT_BL" value="5" enum="DockSlot">
Dock slot, right side, bottom-left (empty in default layout). Dock slot, right side, bottom-left (empty in default layout).
</constant> </constant>
<constant name="DOCK_SLOT_RIGHT_UR" value="6" enum="DockSlot"> <constant name="DOCK_SLOT_RIGHT_UR" value="6" enum="DockSlot">
Dock slot, right side, upper-right (in default layout includes Inspector, Node and History docks). Dock slot, right side, upper-right (empty in default layout).
</constant> </constant>
<constant name="DOCK_SLOT_RIGHT_BR" value="7" enum="DockSlot"> <constant name="DOCK_SLOT_RIGHT_BR" value="7" enum="DockSlot">
Dock slot, right side, bottom-right (empty in default layout). Dock slot, right side, bottom-right (empty in default layout).