Compare commits

..

4 Commits

Author SHA1 Message Date
ydeltastar e3f3ce9495
Merge a2c6b65f4f into 1cb85807dd 2024-09-11 20:34:47 -03:00
yds a2c6b65f4f Preserve selection after drop 2024-09-11 20:08:58 -03:00
yds e6a4eff0a6 Add drag preview 2024-09-11 20:08:57 -03:00
yds 48d1536aeb Implement task multiple selection and drag and drop 2024-09-11 20:08:57 -03:00
2 changed files with 5 additions and 5 deletions

View File

@ -427,7 +427,7 @@ void TaskTree::_drop_data_fw(const Point2 &p_point, const Variant &p_data) {
break;
case -1: // Drop above target.
ERR_FAIL_COND_MSG(to_task->get_parent().is_null(), "Cannot perform drop above the root task!");
to_pos = MAX(0, to_task->get_index());
to_pos = MAX(0, to_task->get_index() - 1);
to_task = to_task->get_parent();
break;
case 1: // Drop below target.

View File

@ -1,10 +1,10 @@
# Edit the following variables to change version info
major = 1
minor = 3
patch = 0
status = "dev"
doc_branch = "master"
minor = 2
patch = 1
status = ""
doc_branch = "v1.2.0"
godot_cpp_ref = "godot-4.3-stable"
# Code that generates version header