Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wilkes
purr-data
Commits
5465b8dc
Commit
5465b8dc
authored
Sep 05, 2014
by
Ivica Bukvic
Browse files
*fixed regression where shift+up/down did not displace objects like it should
parent
9fd322a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_editor.c
View file @
5465b8dc
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
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