Commit aea1ce41 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

Actually use the visible_{col,row} args, Rename them to something more

2001-09-28  Jody Goldberg <jgoldberg@home.com>

	* src/item-cursor.c (item_cursor_set_bounds_visibly) : Actually use
	  the visible_{col,row} args,  Rename them to something more obvious
	  to avoid future stupidity.
parent f90440df
2001-09-28 Jody Goldberg <jgoldberg@home.com>
* src/item-cursor.c (item_cursor_set_bounds_visibly) : Actually use
the visible_{col,row} args, Rename them to something more obvious
to avoid future stupidity.
2001-09-27 Jody Goldberg <jgoldberg@home.com>
* src/sheet-object.c (cell_offset_calc_pixel) : round to nearest
......
2001-09-28 Jody Goldberg <jgoldberg@home.com>
* src/item-cursor.c (item_cursor_set_bounds_visibly) : Actually use
the visible_{col,row} args, Rename them to something more obvious
to avoid future stupidity.
2001-09-27 Jody Goldberg <jgoldberg@home.com>
* src/sheet-object.c (cell_offset_calc_pixel) : round to nearest
......
2001-09-28 Jody Goldberg <jgoldberg@home.com>
* src/item-cursor.c (item_cursor_set_bounds_visibly) : Actually use
the visible_{col,row} args, Rename them to something more obvious
to avoid future stupidity.
2001-09-27 Jody Goldberg <jgoldberg@home.com>
* src/sheet-object.c (cell_offset_calc_pixel) : round to nearest
......
2001-09-28 Jody Goldberg <jgoldberg@home.com>
* src/item-cursor.c (item_cursor_set_bounds_visibly) : Actually use
the visible_{col,row} args, Rename them to something more obvious
to avoid future stupidity.
2001-09-27 Jody Goldberg <jgoldberg@home.com>
* src/sheet-object.c (cell_offset_calc_pixel) : round to nearest
......
......@@ -1077,7 +1077,7 @@ item_cursor_do_drop (ItemCursor *ic, GdkEventButton *event)
static void
item_cursor_set_bounds_visibly (ItemCursor *ic,
int col,int row,
int visible_col,int visible_row,
CellPos const *corner,
int end_col, int end_row)
{
......@@ -1089,7 +1089,7 @@ item_cursor_set_bounds_visibly (ItemCursor *ic,
* need to constrain movement some times. eg no sense scrolling the
* canvas if the autofill cursor is not changing size.
*/
scg_make_cell_visible (ic->scg, end_col, end_row, FALSE, TRUE);
scg_make_cell_visible (ic->scg, visible_col, visible_row, FALSE, TRUE);
/* FIXME FIXME FIXME
* Ideally we would update the bounds BEFORE we scroll, this would
......
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