Commit ff6983f4 authored by user's avatar user
Browse files

fixed strange regression with gop scalar (or garray) having a crazy bbox...

fixed strange regression with gop scalar (or garray) having a crazy bbox because of scaling in the parent.
parent 25af28f0
......@@ -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',
});
}
......
......@@ -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
--------
......
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