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
nerrons
purr-data
Commits
3eff477c
Commit
3eff477c
authored
Sep 15, 2014
by
Ivica Bukvic
Browse files
*fixed offset on paste to match that of create
parent
79e7dc7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_editor.c
View file @
3eff477c
...
...
@@ -5954,7 +5954,7 @@ static void canvas_paste_atmouse(t_canvas *x)
/* redraw objects */
canvas_undo_already_set_move
=
1
;
canvas_displaceselection
(
x
,
(
x
->
gl_editor
->
e_xwas
)
+
5
-
x1
,
(
x
->
gl_editor
->
e_ywas
)
-
y1
);
(
x
->
gl_editor
->
e_xwas
)
-
x1
-
8
,
(
x
->
gl_editor
->
e_ywas
)
-
y1
-
8
);
//glist_setlastxy(x, (int)((x->gl_editor->e_xwas)+5-x1), (int)((x->gl_editor->e_ywas)-y1));
canvas_startmotion
(
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