smallish change to enable dragging out of handles again. It is now

2003-09-17  Simon Budig  <simon@gimp.org>

	* app/tools/gimpvectortool.c: smallish change to enable
	dragging out of handles again. It is now dragging handles
	out of anchors, when click/dragging on them in Insert/Delete
	mode. Deletion of nodes now requires the SHIFT modifier.
This commit is contained in:
Simon Budig 2003-09-17 13:08:19 +00:00 committed by Simon Budig
parent f2da45b6da
commit 12a4cc19bc
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2003-09-17 Simon Budig <simon@gimp.org>
* app/tools/gimpvectortool.c: smallish change to enable
dragging out of handles again. It is now dragging handles
out of anchors, when click/dragging on them in Insert/Delete
mode. Deletion of nodes now requires the SHIFT modifier.
2003-09-17 Sven Neumann <sven@gimp.org>
* plug-ins/common/sparkle.c: some code cleanup.

View file

@ -872,7 +872,10 @@ gimp_vector_tool_oper_update (GimpTool *tool,
}
else
{
vector_tool->function = VECTORS_DELETE_ANCHOR;
if (state & TOGGLE_MASK)
vector_tool->function = VECTORS_DELETE_ANCHOR;
else
vector_tool->function = VECTORS_MOVE_HANDLE;
}
}
else