From 2cd78b459016b533b84634bc7681a9257d7eefdb Mon Sep 17 00:00:00 2001 From: Albert Graef <aggraef@gmail.com> Date: Wed, 22 Mar 2017 10:46:31 +0100 Subject: [PATCH] dropdown: comment out debugging code --- pd/nw/pd_canvas.js | 2 +- pd/src/g_text.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pd/nw/pd_canvas.js b/pd/nw/pd_canvas.js index d5dc9d1a6..ca76297ae 100644 --- a/pd/nw/pd_canvas.js +++ b/pd/nw/pd_canvas.js @@ -223,7 +223,7 @@ var canvas_events = (function() { // Make sure the highlighted element is in view container.scrollTop = elem.offsetTop + elem.offsetHeight - container.clientHeight; - pdgui.post("offset is " + container.scrollTop); + //pdgui.post("offset is " + container.scrollTop); } }, events = { diff --git a/pd/src/g_text.c b/pd/src/g_text.c index d29b5c037..95eee4797 100644 --- a/pd/src/g_text.c +++ b/pd/src/g_text.c @@ -1482,7 +1482,7 @@ static void dropdown_names(t_dropdown *x, t_symbol *s, int argc, t_atom *argv) binbuf_addv(x->a_names, "s", &s_); /* nudge a_index back into range */ x->a_index = dropdown_clipindex(x, x->a_index); - post("max width is %d", dropdown_names_getmaxwidth(x)); + //post("max width is %d", dropdown_names_getmaxwidth(x)); x->a_maxnamewidth = dropdown_names_getmaxwidth(x); //dropdown_max_namelength(x); dropdown_retext(x, 1, 0); -- GitLab