Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
David MacDonald
purr-data
Commits
950459d3
Commit
950459d3
authored
Aug 01, 2012
by
Ivica Bukvic
Browse files
fixed regression with shift+left/right moving of selected objects
parent
9f4b4960
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/g_editor.c
View file @
950459d3
...
...
@@ -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);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment