Commit 950459d3 authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

fixed regression with shift+left/right moving of selected objects

parent 9f4b4960
......@@ -3532,11 +3532,11 @@ void canvas_key(t_canvas *x, t_symbol *s, int ac, t_atom *av)
canvas_displaceselection(x, 0, shift ? 10 : 1);
sys_vgui("pdtk_canvas_getscroll .x%lx.c\n", x);
}
else if (!strcmp(gotkeysym->s_name, "Left")) {
else if (!strcmp(gotkeysym->s_name, "Left") || !strcmp(gotkeysym->s_name, "ShiftLeft")) {
canvas_displaceselection(x, shift ? -10 : -1, 0);
sys_vgui("pdtk_canvas_getscroll .x%lx.c\n", x);
}
else if (!strcmp(gotkeysym->s_name, "Right")) {
else if (!strcmp(gotkeysym->s_name, "Right") || !strcmp(gotkeysym->s_name, "ShiftRight")) {
canvas_displaceselection(x, shift ? 10 : 1, 0);
sys_vgui("pdtk_canvas_getscroll .x%lx.c\n", x);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment