Merge pull request #100339 from syntaxerror247/touch-actions-panel

Add a `TouchActionsPanel` to Android Editor
This commit is contained in:
Thaddeus Crews
2025-03-10 21:05:43 -05:00
6 changed files with 256 additions and 0 deletions

View File

@ -168,6 +168,10 @@
#include "modules/modules_enabled.gen.h" // For gdscript, mono.
#ifdef ANDROID_ENABLED
#include "editor/gui/touch_actions_panel.h"
#endif
#include <stdlib.h>
EditorNode *EditorNode::singleton = nullptr;
@ -7779,6 +7783,11 @@ EditorNode::EditorNode() {
_update_layouts_menu();
#ifdef ANDROID_ENABLED
// Add TouchActionsPanel node.
add_child(memnew(TouchActionsPanel));
#endif
// Bottom panels.
bottom_panel = memnew(EditorBottomPanel);