Commit 5465b8dc authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

*fixed regression where shift+up/down did not displace objects like it should

parent 9fd322a7
......@@ -4894,12 +4894,14 @@ void canvas_key(t_canvas *x, t_symbol *s, int ac, t_atom *av)
/* check for arrow keys */
else if (x->gl_editor->e_selection)
{
if (!strcmp(gotkeysym->s_name, "Up"))
if (!strcmp(gotkeysym->s_name, "Up") ||
!strcmp(gotkeysym->s_name, "ShiftUp"))
{
canvas_displaceselection(x, 0, shift ? -10 : -1);
scrollbar_update(x);
}
else if (!strcmp(gotkeysym->s_name, "Down"))
else if (!strcmp(gotkeysym->s_name, "Down") ||
!strcmp(gotkeysym->s_name, "ShiftDown"))
{
canvas_displaceselection(x, 0, shift ? 10 : 1);
scrollbar_update(x);
......
Markdown is supported
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