Add TouchActionsPanel to Android Editor

This commit is contained in:
Anish Mishra committed 2025-03-07 19:45:03 +05:30
1 parent f2cc3f1275
commit e8625e70cf
6 files changed
+256

No files matched your search

+9
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;
@@ -7737,6 +7741,11 @@ EditorNode::EditorNode() {
_update_layouts_menu();
#ifdef ANDROID_ENABLED
// Add TouchActionsPanel node.
add_child(memnew(TouchActionsPanel));
#endif
// Bottom panels.
bottom_panel = memnew(EditorBottomPanel);