You've already forked godot
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user