You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Merge pull request #105994 from syntaxerror247/split_container
Add option for a touch-friendly drag handle in `SplitContainer`
This commit is contained in:
@@ -765,6 +765,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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user