Commit ed623934 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

port from vanilla: fix for old bug...

(tcl errors on closing a patch in which a scalar was getting a deferred
update, usually I think because of an array).

commit: 418c7380b066db065dcc8a3315f4a6ca61f7bf1c
parent 605da1df
......@@ -1103,6 +1103,8 @@ static void scalar_vis(t_gobj *z, t_glist *owner, int vis)
static void scalar_doredraw(t_gobj *client, t_glist *glist)
{
if (glist_isvisible(glist))
{
scalar_vis(client, glist, 0);
scalar_vis(client, glist, 1);
if (glist_isselected(glist_getcanvas(glist), (t_gobj *)glist))
......@@ -1114,6 +1116,7 @@ static void scalar_doredraw(t_gobj *client, t_glist *glist)
// glist_getcanvas(glist), glist, 1);
}
canvas_getscroll(glist_getcanvas(glist));
}
}
void scalar_redraw(t_scalar *x, t_glist *glist)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment