Compare commits
3 Commits
a2c6b65f4f
...
1742018696
Author | SHA1 | Date |
---|---|---|
|
1742018696 | |
|
a460c7898b | |
|
8ee3688da2 |
|
@ -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() - 1);
|
||||
to_pos = MAX(0, to_task->get_index());
|
||||
to_task = to_task->get_parent();
|
||||
break;
|
||||
case 1: // Drop below target.
|
||||
|
|
Loading…
Reference in New Issue