diff options
Diffstat (limited to 'src/node-context.cpp')
| -rw-r--r-- | src/node-context.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/node-context.cpp b/src/node-context.cpp index d8a1ec1d7..96b562a3f 100644 --- a/src/node-context.cpp +++ b/src/node-context.cpp @@ -557,8 +557,8 @@ sp_node_context_root_handler(SPEventContext *event_context, GdkEvent *event) gint mul = 1 + gobble_key_events( get_group0_keyval(&event->key), 0); // with any mask if (MOD__ALT) { // alt - if (MOD__SHIFT) nc->shape_editor->move_nodes_screen(mul*-10, 0); // shift - else nc->shape_editor->move_nodes_screen(mul*-1, 0); // no shift + if (MOD__SHIFT) nc->shape_editor->move_nodes_screen(desktop, mul*-10, 0); // shift + else nc->shape_editor->move_nodes_screen(desktop, mul*-1, 0); // no shift } else { // no alt if (MOD__SHIFT) nc->shape_editor->move_nodes(mul*-10*nudge, 0); // shift @@ -574,8 +574,8 @@ sp_node_context_root_handler(SPEventContext *event_context, GdkEvent *event) gint mul = 1 + gobble_key_events( get_group0_keyval(&event->key), 0); // with any mask if (MOD__ALT) { // alt - if (MOD__SHIFT) nc->shape_editor->move_nodes_screen(0, mul*10); // shift - else nc->shape_editor->move_nodes_screen(0, mul*1); // no shift + if (MOD__SHIFT) nc->shape_editor->move_nodes_screen(desktop, 0, mul*10); // shift + else nc->shape_editor->move_nodes_screen(desktop, 0, mul*1); // no shift } else { // no alt if (MOD__SHIFT) nc->shape_editor->move_nodes(0, mul*10*nudge); // shift @@ -591,8 +591,8 @@ sp_node_context_root_handler(SPEventContext *event_context, GdkEvent *event) gint mul = 1 + gobble_key_events( get_group0_keyval(&event->key), 0); // with any mask if (MOD__ALT) { // alt - if (MOD__SHIFT) nc->shape_editor->move_nodes_screen(mul*10, 0); // shift - else nc->shape_editor->move_nodes_screen(mul*1, 0); // no shift + if (MOD__SHIFT) nc->shape_editor->move_nodes_screen(desktop, mul*10, 0); // shift + else nc->shape_editor->move_nodes_screen(desktop, mul*1, 0); // no shift } else { // no alt if (MOD__SHIFT) nc->shape_editor->move_nodes(mul*10*nudge, 0); // shift @@ -608,8 +608,8 @@ sp_node_context_root_handler(SPEventContext *event_context, GdkEvent *event) gint mul = 1 + gobble_key_events( get_group0_keyval(&event->key), 0); // with any mask if (MOD__ALT) { // alt - if (MOD__SHIFT) nc->shape_editor->move_nodes_screen(0, mul*-10); // shift - else nc->shape_editor->move_nodes_screen(0, mul*-1); // no shift + if (MOD__SHIFT) nc->shape_editor->move_nodes_screen(desktop, 0, mul*-10); // shift + else nc->shape_editor->move_nodes_screen(desktop, 0, mul*-1); // no shift } else { // no alt if (MOD__SHIFT) nc->shape_editor->move_nodes(0, mul*-10*nudge); // shift |
