mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Add shortcuts for opening docks
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user