Skip to content
Snippets Groups Projects
Commit f606e821 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

ported: "*made messages and comments redraw when they are manually changed"

from pd-l2ork: 7ad47e188a941508b92e3c96bc9e05432fbb88f7
parent f649398e
No related branches found
No related tags found
No related merge requests found
......@@ -2628,6 +2628,14 @@ void text_setto(t_text *x, t_glist *glist, char *buf, int bufsize, int pos)
binbuf_text(x->te_binbuf, buf, bufsize);
binbuf_free(b);
// we redraw retexted messages and comments so that they visually
// match their stack position (namely, they are now on top)
if (glist_istoplevel(glist))
{
gobj_vis(&x->te_g, glist, 0);
gobj_vis(&x->te_g, glist, 1);
}
//probably don't need this here, but doesn't hurt to leave it in
glob_preset_node_list_seek_hub();
glob_preset_node_list_check_loc_and_update();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment