summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2020-12-17 17:34:36 +0100
committerGitHub <noreply@github.com>2020-12-17 17:34:36 +0100
commitc83d1b252632eaa6d6ede7046b47ffaa99e6fb35 (patch)
tree6f8a4138fcf24d4cf8cb66c3a36ae6edc3e9e2fb /doc/classes
parent68117f5e75944cfd6f8ad1534a15c334e7ed5e91 (diff)
parent999ce610a2f57ed29be8dd7dde69c24590251029 (diff)
Merge pull request #43416 from pycbouh/graph-minimap
Add a minimap to the GraphEdit
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/GraphEdit.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/classes/GraphEdit.xml b/doc/classes/GraphEdit.xml
index 77bd2c60cc..ef4d92a5e7 100644
--- a/doc/classes/GraphEdit.xml
+++ b/doc/classes/GraphEdit.xml
@@ -175,6 +175,15 @@
</methods>
<members>
<member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" override="true" enum="Control.FocusMode" default="2" />
+ <member name="minimap_enabled" type="bool" setter="set_minimap_enabled" getter="is_minimap_enabled" default="true">
+ If [code]true[/code], the minimap is visible.
+ </member>
+ <member name="minimap_opacity" type="float" setter="set_minimap_opacity" getter="get_minimap_opacity" default="0.45">
+ The opacity of the minimap rectangle.
+ </member>
+ <member name="minimap_size" type="Vector2" setter="set_minimap_size" getter="get_minimap_size" default="Vector2(240, 160)">
+ The size of the minimap rectangle. The map itself is based on the size of the grid area and is scaled to fit this rectangle.
+ </member>
<member name="rect_clip_content" type="bool" setter="set_clip_contents" getter="is_clipping_contents" override="true" default="true" />
<member name="right_disconnects" type="bool" setter="set_right_disconnects" getter="is_right_disconnects_enabled" default="false">
If [code]true[/code], enables disconnection of existing connections in the GraphEdit by dragging the right end.