Commit 4cbba7d8 authored by David Brown's avatar David Brown
Browse files

Slight change to when scrolling is canceled in hotlist_autoscroll()

......@@ -3739,7 +3739,6 @@ static int hotlist_newren_directory_handler(int event_code, ToolboxEvent *event,
hotlist_preopen();
hotlist_redraw_now();
hotlist_modified(HL_MODIFIED_ALTER);
//toolbox_hide_object(0, id_block->ancestor_id);
break;
}
......@@ -4466,6 +4465,7 @@ _kernel_oserror *hotlist_autoscroll(int window)
{
mouse_shape = Mouse_Shape_Normal;
mouse_set_pointer_shape(Mouse_Shape_Normal);
scrolling = 0;
}
}
}
......@@ -5185,7 +5185,7 @@ _kernel_oserror * hotlist_add_position(int x, int y, char *description, char *ur
winy = coords_y_toworkarea(y, (WimpRedrawWindowBlock *) &state);
/* Calculate which item add is over */
hotlist_get_entry_sizes(&item_height, &item_dir_width, &item_url_width);
RetError(hotlist_get_entry_sizes(&item_height, &item_dir_width, &item_url_width));
targetitem = hotlist_find_item(hotlist_root->data.directory_content, -winy/item_height);
top = -winy/item_height;
......
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