From 77c0d30c0762ba77af2fc6aa1eea8ff5bed255c5 Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes <jon.w.wilkes@gmail.com> Date: Sun, 24 Jan 2016 19:35:55 -0500 Subject: [PATCH] Death to tcl Part 2 (cont.): g_numbox.c --- pd/src/g_numbox.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pd/src/g_numbox.c b/pd/src/g_numbox.c index e720e9c4b..47f4abeb2 100644 --- a/pd/src/g_numbox.c +++ b/pd/src/g_numbox.c @@ -331,11 +331,11 @@ static void my_numbox__motionhook(t_scalehandle *sh, my_numbox_draw_move(x, x->x_gui.x_glist); my_numbox_draw_config(x, x->x_gui.x_glist); my_numbox_draw_update((t_gobj*)x, x->x_gui.x_glist); - -/* - gobj_vis(x, x->x_gui.x_glist, 0); - gobj_vis(x, x->x_gui.x_glist, 1); -*/ + /* These were just a crude way to guarantee correct + redrawing when testing, but it looks like the calls + above take care of it. */ + //gobj_vis(x, x->x_gui.x_glist, 0); + //gobj_vis(x, x->x_gui.x_glist, 1); scalehandle_unclick_scale(sh); } -- GitLab