Commit becf4c66 authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

fixed text not getting displaced properly while dragging a scalar (due to...

fixed text not getting displaced properly while dragging a scalar (due to incomplete accelerated displace implementation)
parent 78ff67ba
......@@ -2146,8 +2146,8 @@ static void drawnumber_vis(t_gobj *z, t_glist *glist,
glist_getcanvas(glist), xloc, yloc, colorstring, buf);
sys_vgui(" -font {{%s} -%d %s}", sys_font,
sys_hostfontsize(glist_getfont(glist)), sys_fontweight);
sys_vgui(" -tags .x%lx.x%lx.drawnumber%lx\n",
glist_getcanvas(glist), glist, data);
sys_vgui(" -tags {.x%lx.x%lx.drawnumber%lx %lx}\n",
glist_getcanvas(glist), glist, data, data);
}
else sys_vgui(".x%lx.c delete .x%lx.x%lx.drawnumber%lx\n", glist_getcanvas(glist),
glist_getcanvas(glist), glist, data);
......
Supports Markdown
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