Merge pull request #105994 from syntaxerror247/split_container
Add option for a touch-friendly drag handle in `SplitContainer`
This commit is contained in:
commit
b25f609eed
15 changed files with 157 additions and 17 deletions
|
|
@ -1439,6 +1439,9 @@ ProjectExportDialog::ProjectExportDialog() {
|
|||
HSplitContainer *hbox = memnew(HSplitContainer);
|
||||
main_vb->add_child(hbox);
|
||||
hbox->set_v_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
if (EDITOR_GET("interface/touchscreen/enable_touch_optimizations")) {
|
||||
hbox->set_touch_dragger_enabled(true);
|
||||
}
|
||||
|
||||
// Presets list.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue