Commit b4a8a34a authored by Andreas J. Guelzow 's avatar Andreas J. Guelzow

Fix shift-arrow movement for sheet objects. [#645805]

2011-03-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui.c (snap_pos_to_grid): don't move an aligned
	object
parent 3c687f86
2011-03-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* src/sheet-control-gui.c (snap_pos_to_grid): don't move an aligned
object
2011-03-24 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
......
Gnumeric 1.10.15
Andreas:
* Fix shift-arrow movement for sheet objects. [#645805]
--------------------------------------------------------------------------
Gnumeric 1.10.14
......
......@@ -2540,7 +2540,7 @@ typedef struct {
} ObjDragInfo;
static double
snap_pos_to_grid (ObjDragInfo const *info, gboolean is_col, double w_pos,
snap_pos_to_grid (ObjDragInfo const *info, gboolean is_col, double pos,
gboolean to_min)
{
GnmPane const *pane = info->pane;
......@@ -2552,8 +2552,6 @@ snap_pos_to_grid (ObjDragInfo const *info, gboolean is_col, double w_pos,
ColRowInfo const *cr_info;
int sheet_max = colrow_max (is_col, sheet);
double pos = w_pos + .5;
if (pos < pixel) {
while (cell > 0 && pos < pixel) {
cr_info = sheet_colrow_get_info (sheet, --cell, is_col);
......
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