From 3eff477cd221d5a0289d1b6763ef91a61fa653cc Mon Sep 17 00:00:00 2001 From: Ivica Ico Bukvic <ico@vt.edu> Date: Mon, 15 Sep 2014 12:36:32 -0400 Subject: [PATCH] *fixed offset on paste to match that of create --- pd/src/g_editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pd/src/g_editor.c b/pd/src/g_editor.c index 8dccf5fea..83b57af55 100644 --- a/pd/src/g_editor.c +++ b/pd/src/g_editor.c @@ -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); } -- GitLab