Merge pull request #105015 from syntaxerror247/improve-touchActionsPanel

Android Editor: Add an editor setting to enable/disable `TouchActionsPanel`
This commit is contained in:
Thaddeus Crews
2025-04-07 08:43:24 -05:00
16 changed files with 73 additions and 11 deletions

View File

@ -7955,7 +7955,10 @@ EditorNode::EditorNode() {
#ifdef ANDROID_ENABLED
// Add TouchActionsPanel node.
add_child(memnew(TouchActionsPanel));
bool is_enabled = EDITOR_GET("interface/touchscreen/enable_touch_actions_panel");
if (is_enabled) {
add_child(memnew(TouchActionsPanel));
}
#endif
// Bottom panels.