summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 44459c9)
raw | patch | inline | side by side (parent: 44459c9)
author | cilix42 <cilix42@users.sourceforge.net> | |
Tue, 19 Feb 2008 09:52:46 +0000 (09:52 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Tue, 19 Feb 2008 09:52:46 +0000 (09:52 +0000) |
src/dyna-draw-context.cpp | patch | blob | history | |
src/pencil-context.cpp | patch | blob | history |
index d4cd49cac05593ce647e170ad4eb56078e84283c..666ea4d2da0132db2bb9ea3b55df7c03be703b0b 100644 (file)
/* Create object */
fit_and_split(dc, TRUE);
accumulate_calligraphic(dc);
- set_to_accumulated(dc, (event->button.state & GDK_SHIFT_MASK) ||
- (event->button.state & GDK_LOCK_MASK)); // performs document_done
+ set_to_accumulated(dc, event->button.state & GDK_SHIFT_MASK); // performs document_done
/* reset accumulated curve */
sp_curve_reset(dc->accumulated);
diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp
index 6bd4cd0b3fb5f2f398b5310d30d1f326b08b7659..1088e19ed9f3a299a5d9881cc08b18776f0d8a2d 100644 (file)
--- a/src/pencil-context.cpp
+++ b/src/pencil-context.cpp
@@ -238,8 +238,7 @@ pencil_handle_button_press(SPPencilContext *const pc, GdkEventButton const &beve
desktop->messageStack()->flash(Inkscape::NORMAL_MESSAGE, _("Continuing selected path"));
} else {
- if (!(bevent.state & GDK_SHIFT_MASK) &&
- !(bevent.state & GDK_LOCK_MASK)) {
+ if (!(bevent.state & GDK_SHIFT_MASK)) {
// This is the first click of a new curve; deselect item so that
// this curve is not combined with it (unless it is drawn from its