From: cilix42 Date: Tue, 27 Jan 2009 16:38:37 +0000 (+0000) Subject: quick ad-hoc fix to restore guide dragging X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bfbccf9b9c594a0558ff69b15b2ec94305263a52;p=inkscape.git quick ad-hoc fix to restore guide dragging --- diff --git a/src/desktop-events.cpp b/src/desktop-events.cpp index 6cf1dde1a..46fb00cca 100644 --- a/src/desktop-events.cpp +++ b/src/desktop-events.cpp @@ -247,7 +247,7 @@ gint sp_dt_guide_event(SPCanvasItem *item, GdkEvent *event, gpointer data) // the click was on the guide 'anchor' drag_type = (event->button.state & GDK_SHIFT_MASK) ? SP_DRAG_MOVE_ORIGIN : SP_DRAG_TRANSLATE; } else { - drag_type = (event->button.state & GDK_SHIFT_MASK) ? SP_DRAG_TRANSLATE : SP_DRAG_ROTATE; + drag_type = (event->button.state & GDK_SHIFT_MASK) ? SP_DRAG_ROTATE : SP_DRAG_TRANSLATE; sp_canvas_item_grab(item, ( GDK_BUTTON_RELEASE_MASK | GDK_BUTTON_PRESS_MASK |