From bfbccf9b9c594a0558ff69b15b2ec94305263a52 Mon Sep 17 00:00:00 2001 From: cilix42 Date: Tue, 27 Jan 2009 16:38:37 +0000 Subject: [PATCH] quick ad-hoc fix to restore guide dragging --- src/desktop-events.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 | -- 2.30.2