mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Unfold tree items on hover while drag-n-dropping
Co-authored-by: suddjian
This commit is contained in:
parent
1f7630f1bf
commit
26745b4b87
11 changed files with 82 additions and 4 deletions
|
|
@ -995,6 +995,10 @@ void EditorNode::_notification(int p_what) {
|
|||
recent_scenes->reset_size();
|
||||
}
|
||||
|
||||
if (EditorSettings::get_singleton()->check_changed_settings_in_group("interface/editor")) {
|
||||
theme->set_constant("dragging_unfold_wait_msec", "Tree", (float)EDITOR_GET("interface/editor/dragging_hover_wait_seconds") * 1000);
|
||||
}
|
||||
|
||||
if (EditorSettings::get_singleton()->check_changed_settings_in_group("interface/editor/dock_tab_style")) {
|
||||
editor_dock_manager->update_tab_styles();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue