Commit ddfb7ee4 authored by David Brown's avatar David Brown
Browse files

Slight alteration to drag and drop model

parent 35d847e3
......@@ -4528,8 +4528,15 @@ static int hotlist_drag_completed_handler(int event_code, WimpPollBlock *event,
{
/* If we're over half way past the item, place after it */
if (targetitem->type == hl_directory && targetitem->flags & HOTLIST_D_IS_OPEN)
{
position = HOTLIST_POSITION_BEGINNING;
}
else
{
position = HOTLIST_POSITION_AFTER;
}
}
else
{
/* Otherwise, place before */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment