From f820e57e8365b2dc58897ac01b39b47af6437410 Mon Sep 17 00:00:00 2001 From: Ivica Ico Bukvic <ico@vt.edu> Date: Sat, 13 Apr 2013 11:37:09 -0400 Subject: [PATCH] selection box scrolls --- pd/src/g_editor.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pd/src/g_editor.c b/pd/src/g_editor.c index a8759ff20..948ac3708 100644 --- a/pd/src/g_editor.c +++ b/pd/src/g_editor.c @@ -3647,8 +3647,10 @@ void canvas_motion(t_canvas *x, t_floatarg xpos, t_floatarg ypos, //sys_vgui("pdtk_canvas_getscroll .x%lx.c\n", x); //sys_vgui("pdtk_check_scroll_on_motion .x%lx.c 20\n", x); } - else if (x->gl_editor->e_onmotion == MA_REGION) + else if (x->gl_editor->e_onmotion == MA_REGION) { canvas_doregion(x, xpos, ypos, 0); + sys_vgui("pdtk_check_scroll_on_motion .x%lx.c 0\n", x); + } else if (x->gl_editor->e_onmotion == MA_CONNECT) { //fprintf(stderr,"MA_CONNECT\n"); canvas_doconnect(x, xpos, ypos, 0, 0); -- GitLab