Add shortcuts for opening docks

This commit is contained in:
kit
2024-04-04 17:51:44 -04:00
parent 0028fd625e
commit 4a65775dc5
3 changed files with 8 additions and 8 deletions

View File

@@ -439,7 +439,7 @@
Adds the control to a specific dock slot (see [enum DockSlot] for options).
If the dock is repositioned and as long as the plugin is active, the editor will save the dock position on further sessions.
When your plugin is deactivated, make sure to remove your custom control with [method remove_control_from_docks] and free it with [method Node.queue_free].
Optionally, you can specify a shortcut parameter. When pressed, this shortcut will toggle the dock's visibility once it's moved to the bottom panel (this shortcut does not affect the dock otherwise). See the default editor bottom panel shortcuts in the Editor Settings for inspiration. Per convention, they all use [kbd]Alt[/kbd] modifier.
Optionally, you can specify a shortcut parameter. When pressed, this shortcut will open and focus the dock.
</description>
</method>
<method name="add_custom_type">