Improve SplitContainer usability in the Android editor

This commit is contained in:
Anish Mishra 2025-06-01 19:08:01 +05:30
parent bccf36b27b
commit b5dad5a0b2
9 changed files with 35 additions and 15 deletions

View file

@ -719,6 +719,10 @@ ProjectSettingsEditor::ProjectSettingsEditor(EditorData *p_data) {
general_settings_inspector->get_inspector()->connect("restart_requested", callable_mp(this, &ProjectSettingsEditor::_editor_restart_request));
general_editor->add_child(general_settings_inspector);
if (EDITOR_GET("interface/touchscreen/enable_touch_optimizations")) {
general_settings_inspector->set_touch_dragger_enabled(true);
}
restart_container = memnew(PanelContainer);
general_editor->add_child(restart_container);