Code

switch scale/rotate mode with Shift+s
authorbuliabyak <buliabyak@users.sourceforge.net>
Sun, 8 Jul 2007 16:24:31 +0000 (16:24 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sun, 8 Jul 2007 16:24:31 +0000 (16:24 +0000)
src/select-context.cpp

index 089da65b840ea94824cc0d678a2829972c5469c1..08cb6247a48a863d031641909a45483781a870ac 100644 (file)
@@ -858,6 +858,15 @@ sp_select_context_root_handler(SPEventContext *event_context, GdkEvent *event)
                         ret = TRUE;
                     }
                     break;
+                case GDK_s:
+                case GDK_S:
+                    if (MOD__SHIFT_ONLY) {
+                        if (!selection->isEmpty()) {
+                            seltrans->increaseState();
+                        }
+                        ret = TRUE;
+                    }
+                    break;                  
                 default:
                     break;
             }