Fix problem with positioning of colored rectangles (when combined combitionings add up to zero).
This commit is contained in:
parent
94b7c4243b
commit
477903cc79
|
@ -850,6 +850,8 @@
|
|||
svg.h -= y; svg.d += y; svg.H -= y; svg.D +=y;
|
||||
svg.w -= x; svg.r -= x; svg.l += x;
|
||||
svg.removeable = false;
|
||||
child.setAttribute("x",Math.floor(svg.x/svg.scale));
|
||||
child.setAttribute("y",Math.floor(svg.y/svg.scale));
|
||||
}
|
||||
}
|
||||
if (Math.abs(svg.x) < 1 && Math.abs(svg.y) < 1) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user