1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Add TouchActionsPanel to Android Editor

This commit is contained in:
Anish Mishra
2024-12-13 05:00:14 +05:30
parent f2cc3f1275
commit e8625e70cf
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;
@@ -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);