diff --git a/pd/nw/pdgui.js b/pd/nw/pdgui.js index 0df09bcd820747c4c105a0f953d978b8abcfd261..3db15e1f2f12e6d9b8113f41c670718c96923da0 100644 --- a/pd/nw/pdgui.js +++ b/pd/nw/pdgui.js @@ -2871,16 +2871,17 @@ function gui_scalar_draw_select_rect(cid, tag, state, x1, y1, x2, y2, basex, bas // means all the coordinate parameters are in the screen position. But we need // the coords relative to the scalar's x/y-- hence we subtract the scalar's basex/basey // from the coords below + // Additionally, we're not actually drawing the rect here. It's drawn + // as part of the scalar_vis function. We're merely changing its coords + // and size //gui_post("drawselectrect: " + x1 + " " + y1 + " " + x2 + " " + y2 + " " + basex + " " + basey); var g = get_gobj(cid, tag); var b = g.querySelector('.border'); configure_item(b, { - display: (state ? 'inline' : 'none'), x: (x1 - basex), y: (y1 - basey), width: x2 - x1, height: y2 - y1, -// stroke: 'blue', }); } diff --git a/pd/nw/todo.txt b/pd/nw/todo.txt index cb3c90e14c92f0bcdcd7e23d17bffd8c8a69caae..5e10a282849f95fe6ea4bcf1173c7ab7c4f3bd14 100644 --- a/pd/nw/todo.txt +++ b/pd/nw/todo.txt @@ -190,6 +190,8 @@ Everything else: (A [x] means we've fixed it) yet. Perhaps there's a better way to do it, without triggering a bunch of layouts. [ ] implement pdtk_canvas_editval and magicglassval +[ ] move crispEdges value to CSS + Crashers --------